Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
435ea5a7
authored
Feb 28, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复
parent
08a70b9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
app/Http/Controllers/Api/CommonApiController.php
app/Http/Controllers/Api/SupplierApiController.php
app/Http/Controllers/Api/CommonApiController.php
View file @
435ea5a7
...
@@ -86,7 +86,6 @@ class CommonApiController extends Controller
...
@@ -86,7 +86,6 @@ 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
);
...
...
app/Http/Controllers/Api/SupplierApiController.php
View file @
435ea5a7
...
@@ -377,7 +377,6 @@ class SupplierApiController extends Controller
...
@@ -377,7 +377,6 @@ class SupplierApiController extends Controller
}
}
}
}
}
}
$this
->
response
(
-
2
,
'供应商跳过天眼查校验'
);
$company
=
[];
$company
=
[];
//判断用户选的地区是不是需要校验的,不需要直接返回即可
//判断用户选的地区是不是需要校验的,不需要直接返回即可
if
(
in_array
(
$region
,
config
(
'field.NeedCheckCompanyRegion'
)))
{
if
(
in_array
(
$region
,
config
(
'field.NeedCheckCompanyRegion'
)))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment