Commit 11ace591 by 杨树贤

特殊标识添加

parent 93151240
...@@ -142,6 +142,10 @@ class SupplierApiController extends Controller ...@@ -142,6 +142,10 @@ class SupplierApiController extends Controller
]); ]);
$channel = $request->only($channelMap); $channel = $request->only($channelMap);
//如果是有直接新增权限的(绕过天眼查等校验)
if (checkPerm('IgnoreCompanyCheck')) {
$channel['is_standard_add'] = -1;
}
$service = new SupplierService(); $service = new SupplierService();
$supplierId = $service->saveSupplier($channel); $supplierId = $service->saveSupplier($channel);
if (!$supplierId) { if (!$supplierId) {
......
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