Commit caab5a84 by 杨树贤

fix

parent af5370ab
...@@ -88,6 +88,7 @@ class SupplierSyncController extends BaseSyncController ...@@ -88,6 +88,7 @@ class SupplierSyncController extends BaseSyncController
$error = $validator->errors()->first(); $error = $validator->errors()->first();
$this->syncResponse(-1, $error); $this->syncResponse(-1, $error);
} }
//这里还要去判断是是拉黑 //这里还要去判断是是拉黑
if ($resultData['result'] == -2) { if ($resultData['result'] == -2) {
$data['status'] = SupplierChannelModel::STATUS_BLOCK; $data['status'] = SupplierChannelModel::STATUS_BLOCK;
...@@ -542,4 +543,4 @@ class SupplierSyncController extends BaseSyncController ...@@ -542,4 +543,4 @@ class SupplierSyncController extends BaseSyncController
$this->syncResponse(-1, '更新失败: ' . $e->getMessage()); $this->syncResponse(-1, '更新失败: ' . $e->getMessage());
} }
} }
} }
\ No newline at end of file
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