Commit 435ea5a7 by 杨树贤

修复

parent 08a70b9b
......@@ -86,7 +86,6 @@ class CommonApiController extends Controller
$taxNumber = $request->get('tax_number');
$region = $request->get('region');
$company = [];
$this->response(-2, '供应商跳过天眼查校验');
if (in_array($region, config('field.NeedCheckCompanyRegion'))) {
$regionType = $region == SupplierChannelModel::REGION_CN ? 1 : 2;
$company = (new CompanyService())->getCompanyInfo($supplierName, $taxNumber, $regionType);
......
......@@ -377,7 +377,6 @@ class SupplierApiController extends Controller
}
}
}
$this->response(-2, '供应商跳过天眼查校验');
$company = [];
//判断用户选的地区是不是需要校验的,不需要直接返回即可
if (in_array($region, config('field.NeedCheckCompanyRegion'))) {
......
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