|
@@ -127,7 +127,7 @@ class TestService extends Service
|
|
|
];
|
|
];
|
|
|
$json = json_encode($json);
|
|
$json = json_encode($json);
|
|
|
|
|
|
|
|
- list($status, $result) = $this->post_helper($url,$json, $header, 30, $common_array['title'] . '获取销售订单');
|
|
|
|
|
|
|
+ list($status, $result) = $this->post_helper($url,$json, $header, 60, $common_array['title'] . '获取销售订单');
|
|
|
if(! $status) return [false, $result];
|
|
if(! $status) return [false, $result];
|
|
|
|
|
|
|
|
if(! isset($result['code'])) return [false, '拉取销售订单失败,请重新拉取'];
|
|
if(! isset($result['code'])) return [false, '拉取销售订单失败,请重新拉取'];
|
|
@@ -341,7 +341,7 @@ class TestService extends Service
|
|
|
];
|
|
];
|
|
|
$json_str = json_encode($json);
|
|
$json_str = json_encode($json);
|
|
|
|
|
|
|
|
- list($status, $result) = $this->post_helper($url, $json_str, $header, 30, $title . '生成领料申请单');
|
|
|
|
|
|
|
+ list($status, $result) = $this->post_helper($url, $json_str, $header, 60, $title . '生成领料申请单');
|
|
|
if(! $status) return [false, $result];
|
|
if(! $status) return [false, $result];
|
|
|
if(! isset($result['code'])) return [false, '生成领料申请单失败,请重新操作'];
|
|
if(! isset($result['code'])) return [false, '生成领料申请单失败,请重新操作'];
|
|
|
if($result['code'] != 0) return [false, $result['msg']];
|
|
if($result['code'] != 0) return [false, $result['msg']];
|
|
@@ -368,7 +368,7 @@ class TestService extends Service
|
|
|
],
|
|
],
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
- list($status, $result) = $this->post_helper($url, json_encode($json), $header, 30, $title . '生成产成品入库单');
|
|
|
|
|
|
|
+ list($status, $result) = $this->post_helper($url, json_encode($json), $header, 60, $title . '生成产成品入库单');
|
|
|
if(! $status) return [false, $result];
|
|
if(! $status) return [false, $result];
|
|
|
if(! isset($result['code'])) return [false, '生成产成品入库单失败,请重新操作'];
|
|
if(! isset($result['code'])) return [false, '生成产成品入库单失败,请重新操作'];
|
|
|
if($result['code'] != 0) return [false, $result['msg']];
|
|
if($result['code'] != 0) return [false, $result['msg']];
|
|
@@ -400,7 +400,7 @@ class TestService extends Service
|
|
|
]
|
|
]
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
- list($status, $result) = $this->post_helper($url, json_encode($json), $header, 30, $title . '生成发货单');
|
|
|
|
|
|
|
+ list($status, $result) = $this->post_helper($url, json_encode($json), $header, 60, $title . '生成发货单');
|
|
|
if(! $status) return [false, $result];
|
|
if(! $status) return [false, $result];
|
|
|
if(! isset($result['code'])) return [false, '生成发货单失败,请重新操作'];
|
|
if(! isset($result['code'])) return [false, '生成发货单失败,请重新操作'];
|
|
|
if($result['code'] != 0) return [false, $result['msg']];
|
|
if($result['code'] != 0) return [false, $result['msg']];
|