|
@@ -44,8 +44,7 @@ class LabelDealService extends Service
|
|
|
file_put_contents('msg_result.txt',date('Y-m-d H:i:s') . "出库:" . $return_out. PHP_EOL,8);
|
|
|
$return_out = json_decode($return_out, true);
|
|
|
|
|
|
- //toDo
|
|
|
- BigKingCbj::where('id',$id)->update(['is_successful' => 1]);
|
|
|
+ if(isset($return_bind['status']) && $return_bind['status'] == 'success' && isset($return_out['status']) && $return_out['status'] == 'success') BigKingCbj::where('id',$id)->update(['is_successful' => 1]);
|
|
|
}
|
|
|
|
|
|
public function post_helper($url, $data, $auth)
|