Commit 613eb660 by 杨树贤

判断逻辑优化

parent 9a3106a2
Showing with 5 additions and 0 deletions
......@@ -73,6 +73,11 @@ class SupplierAccountService
if (empty($supplier)) {
return;
}
if ($supplier->status != SupplierChannelModel::STATUS_PASSED) {
return;
}
//合作类型不包含芯链商家,则不创建账号
if (strpos($supplier->stockup_type, (string)SupplierChannelModel::SUPPLIER_STOCKUP_TYPE_XINLIAN) === false) {
return;
......
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