c15b66af by yangjianbin

init

1 parent 33ba56bc
......@@ -187,9 +187,10 @@ class Work extends CI_Controller
$result2 = file_get_contents($url2);
$json2 = json_decode($result2);
$ret2 = $json2->data;
$credit = (object) array();
if ($ret2) {
$credit = $ret2;
} else{
$credit = array();
}
$url3 = $this->config->item('apiBaseUrl') . 'dueDiligence/' . $id;
......@@ -202,11 +203,12 @@ class Work extends CI_Controller
'clientUnitOutputVO' => $ret->clientUnitOutputVO,
'clientContactOutputVOS' => $ret->clientContactOutputVOS,
'applyOrderVO' => $ret->applyOrderVO,
'credit'=> $credit,
'id' => $id
'credit'=> $credit,//信用报告
'id' => $id,
'dueDiligence'=>$dueDiligence //尽调报告
);
// array_merge($data, $dueDiligence);
}
switch ($state) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!