7056fdaf by wang

Merge remote-tracking branch 'origin/develop' into develop

2 parents ade1d3dc 12d746fe
...@@ -187,9 +187,10 @@ class Work extends CI_Controller ...@@ -187,9 +187,10 @@ class Work extends CI_Controller
187 $result2 = file_get_contents($url2); 187 $result2 = file_get_contents($url2);
188 $json2 = json_decode($result2); 188 $json2 = json_decode($result2);
189 $ret2 = $json2->data; 189 $ret2 = $json2->data;
190 $credit = (object) array();
191 if ($ret2) { 190 if ($ret2) {
192 $credit = $ret2; 191 $credit = $ret2;
192 } else{
193 $credit = array();
193 } 194 }
194 195
195 $url3 = $this->config->item('apiBaseUrl') . 'dueDiligence/' . $id; 196 $url3 = $this->config->item('apiBaseUrl') . 'dueDiligence/' . $id;
...@@ -202,11 +203,12 @@ class Work extends CI_Controller ...@@ -202,11 +203,12 @@ class Work extends CI_Controller
202 'clientUnitOutputVO' => $ret->clientUnitOutputVO, 203 'clientUnitOutputVO' => $ret->clientUnitOutputVO,
203 'clientContactOutputVOS' => $ret->clientContactOutputVOS, 204 'clientContactOutputVOS' => $ret->clientContactOutputVOS,
204 'applyOrderVO' => $ret->applyOrderVO, 205 'applyOrderVO' => $ret->applyOrderVO,
205 'credit'=> $credit, 206 'credit'=> $credit,//信用报告
206 'id' => $id 207 'id' => $id,
208 'dueDiligence'=>$dueDiligence //尽调报告
209
207 ); 210 );
208 // array_merge($data, $dueDiligence); 211 // array_merge($data, $dueDiligence);
209
210 } 212 }
211 213
212 switch ($state) { 214 switch ($state) {
......
1 <?php
2
3 var_dump($credit);
4 ?>
1 <form action="" id="form1"> 5 <form action="" id="form1">
2 <input type="hidden" name="orderId" value="<?=$id?>"> 6 <input type="hidden" name="orderId" value="<?=$id?>">
3 <div class="panel panel-default mb-20"> 7 <div class="panel panel-default mb-20">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!