9f82a215 by yangjianbin

init

1 parent cbf82112
...@@ -145,9 +145,8 @@ class Work extends CI_Controller ...@@ -145,9 +145,8 @@ class Work extends CI_Controller
145 145
146 $recordUrl = $this->config->item('apiBaseUrl') . 'order/orderOperatorRecord/' . $id; 146 $recordUrl = $this->config->item('apiBaseUrl') . 'order/orderOperatorRecord/' . $id;
147 $result2 = file_get_contents($recordUrl); 147 $result2 = file_get_contents($recordUrl);
148 var_dump($result2);exit;
149 $json2 = json_decode($result2); 148 $json2 = json_decode($result2);
150 $ret2 = $json2->data; 149 $ret2 = $json2->data ? $json2 : array();
151 150
152 $data = array( 151 $data = array(
153 'clientInfoOutputVO' => $ret->clientInfoOutputVO, 152 'clientInfoOutputVO' => $ret->clientInfoOutputVO,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!