Commit 0dc36a62 by 朱继来

调整明细编辑

parent bb4cf151
Showing with 2 additions and 7 deletions
...@@ -218,15 +218,10 @@ class ApiController extends Controller ...@@ -218,15 +218,10 @@ class ApiController extends Controller
$data['k1'] = time(); $data['k1'] = time();
$data['k2'] = md5(md5($data['k1']).'fh6y5t4rr351d2c3bryi'); $data['k2'] = md5(md5($data['k1']).'fh6y5t4rr351d2c3bryi');
dd(curlApi($url, $data, "POST"));
$temp = json_decode(curlApi($url, $data, "POST"), true); // 连接API
if ($temp['err_code'] != 0) {
return ['errcode'=>$temp['err_code'], 'errmsg'=>$temp['err_msg']];
}
return ['errcode'=>$temp['err_code'], 'errmsg'=>$temp['err_msg']]; $temp = json_decode(curlApi($url, $data, "POST"), true); // 连接API
$this->Export($temp['err_code'], $temp['err_msg']);
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment