init
Showing
1 changed file
with
6 additions
and
4 deletions
| ... | @@ -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) { | ... | ... |
-
Please register or sign in to post a comment