Commit a43ca413 by 杨树贤

黑名单默认不是实体名单

parent 93f3aa5d
...@@ -74,6 +74,7 @@ class SupplierSyncController extends BaseSyncController ...@@ -74,6 +74,7 @@ class SupplierSyncController extends BaseSyncController
if ($resultData['result'] == -2) { if ($resultData['result'] == -2) {
$data['status'] = SupplierChannelModel::STATUS_BLOCK; $data['status'] = SupplierChannelModel::STATUS_BLOCK;
$data['block_reason'] = '一体化系统黑名单供应商'; $data['block_reason'] = '一体化系统黑名单供应商';
$data['is_entity'] = -1;
$data['update_time'] = time(); $data['update_time'] = time();
$result = SupplierChannelModel::where('supplier_name', $resultData['company_name']) $result = SupplierChannelModel::where('supplier_name', $resultData['company_name'])
->update($data); ->update($data);
......
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