Commit 08a70b9b by 杨树贤

去除校验

parent 4ca4db0b
...@@ -86,6 +86,7 @@ class CommonApiController extends Controller ...@@ -86,6 +86,7 @@ class CommonApiController extends Controller
$taxNumber = $request->get('tax_number'); $taxNumber = $request->get('tax_number');
$region = $request->get('region'); $region = $request->get('region');
$company = []; $company = [];
$this->response(-2, '供应商跳过天眼查校验');
if (in_array($region, config('field.NeedCheckCompanyRegion'))) { if (in_array($region, config('field.NeedCheckCompanyRegion'))) {
$regionType = $region == SupplierChannelModel::REGION_CN ? 1 : 2; $regionType = $region == SupplierChannelModel::REGION_CN ? 1 : 2;
$company = (new CompanyService())->getCompanyInfo($supplierName, $taxNumber, $regionType); $company = (new CompanyService())->getCompanyInfo($supplierName, $taxNumber, $regionType);
......
...@@ -377,7 +377,7 @@ class SupplierApiController extends Controller ...@@ -377,7 +377,7 @@ class SupplierApiController extends Controller
} }
} }
} }
$this->response(-2, '供应商跳过天眼查校验');
$company = []; $company = [];
//判断用户选的地区是不是需要校验的,不需要直接返回即可 //判断用户选的地区是不是需要校验的,不需要直接返回即可
if (in_array($region, config('field.NeedCheckCompanyRegion'))) { if (in_array($region, config('field.NeedCheckCompanyRegion'))) {
......
...@@ -69,7 +69,7 @@ class SupplierValidator ...@@ -69,7 +69,7 @@ class SupplierValidator
if ($needCheckFlag) { if ($needCheckFlag) {
$companyInfo = $unitedCompanyInfo['company']; $companyInfo = $unitedCompanyInfo['company'];
if (empty($companyInfo)) { if (empty($companyInfo)) {
return '公司未进行工商注册,请修改后重新提交'; //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