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
aaa1111b
authored
Apr 30, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复
parent
6e16ee55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
app/Http/Controllers/Api/SupplierApiController.php
app/Http/Services/CompanyService.php
app/Http/Controllers/Api/SupplierApiController.php
View file @
aaa1111b
...
...
@@ -385,6 +385,9 @@ class SupplierApiController extends Controller
if
(
!
$company
)
{
$this
->
response
(
-
2
,
'公司未进行工商注册'
);
}
if
(
$company
&&
$company
[
'regStatus'
]
==
'注销'
)
{
$this
->
response
(
-
1
,
'该公司已经注销,不能进行录入'
);
}
}
else
{
$this
->
response
(
-
2
,
'供应商跳过天眼查校验'
);
}
...
...
app/Http/Services/CompanyService.php
View file @
aaa1111b
...
...
@@ -45,6 +45,7 @@ class CompanyService
'phone'
=>
$companyInfo
[
'tyc_info'
][
'phone_number'
],
'establishment_time'
=>
$companyInfo
[
'establishment_time'
]
?
date
(
'Y-m-d'
,
$companyInfo
[
'establishment_time'
])
:
''
,
'regStatus'
=>
!
empty
(
$companyInfo
[
'regStatus'
])
?
$companyInfo
[
'regStatus'
]
:
''
,
];
}
$unitedCompanyInfo
[
'company'
]
=
$company
;
...
...
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