|
|
@@ -777,7 +777,7 @@ class TestService extends Service
|
|
|
|
|
|
$json = json_encode($final_data);
|
|
|
|
|
|
- list($status, $result) = $this->post_helper($url, json_encode($json), $header, 60, $title . '生成采购入库单');
|
|
|
+ list($status, $result) = $this->post_helper($url,$json, $header, 60, $title . '生成采购入库单');
|
|
|
|
|
|
if(! $status) return [false, $result];
|
|
|
if(! isset($result['code'])) return [false, '采购入库单生成失败'];
|
|
|
@@ -858,7 +858,7 @@ class TestService extends Service
|
|
|
$url = $host . "/api/OtherIn/Add";
|
|
|
|
|
|
$json = json_encode($final_data);
|
|
|
- list($status, $result) = $this->post_helper($url, json_encode($json), $header, 60, $title . '生成其他入库单');
|
|
|
+ list($status, $result) = $this->post_helper($url, $json, $header, 60, $title . '生成其他入库单');
|
|
|
|
|
|
if(! $status) return [false, $result];
|
|
|
|