4b3adfde by yangjianbin

init

1 parent 23fa59fe
...@@ -191,6 +191,13 @@ class Work extends CI_Controller ...@@ -191,6 +191,13 @@ class Work extends CI_Controller
191 if ($ret2) { 191 if ($ret2) {
192 $credit = $ret2; 192 $credit = $ret2;
193 } 193 }
194 var_dump($credit);exit;
195
196 $url3 = $this->config->item('apiBaseUrl') . 'dueDiligence/' . $id;
197 $result3 = file_get_contents($url3);
198 $json3 = json_decode($result3);
199 $dueDiligence = $json3->data;
200
194 $data = array( 201 $data = array(
195 'clientInfoOutputVO' => $ret->clientInfoOutputVO, 202 'clientInfoOutputVO' => $ret->clientInfoOutputVO,
196 'clientUnitOutputVO' => $ret->clientUnitOutputVO, 203 'clientUnitOutputVO' => $ret->clientUnitOutputVO,
...@@ -199,6 +206,8 @@ class Work extends CI_Controller ...@@ -199,6 +206,8 @@ class Work extends CI_Controller
199 'credit'=> $credit, 206 'credit'=> $credit,
200 'id' => $id 207 'id' => $id
201 ); 208 );
209 array_merge($data, $dueDiligence);
210
202 } 211 }
203 212
204 switch ($state) { 213 switch ($state) {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 <div class="row cl"> 4 <div class="row cl">
5 <div class="form-group col-sm-3 col-md-2"> 5 <div class="form-group col-sm-3 col-md-2">
6 <label>姓名</label> 6 <label>姓名</label>
7 <input type="text" class="form-control input-text" value="张三"> 7 <input type="text" class="form-control input-text" value="">
8 </div> 8 </div>
9 <div class="form-group col-sm-3 col-md-2"> 9 <div class="form-group col-sm-3 col-md-2">
10 <label>身份证</label> 10 <label>身份证</label>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!