Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
95a3bd49
...
95a3bd4933f3c4a8d2e39018f9d31e5f097a2113
authored
2021-07-02 18:46:41 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
5aca29cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
app/Http/Middleware/AuthIdentifier.php
app/Http/Middleware/AuthIdentifier.php
View file @
95a3bd4
...
...
@@ -48,9 +48,7 @@ class AuthIdentifier
if
(
empty
(
$identifier
))
return
Response
::
error
(
ErrorCode
::
IDENTIFIER_FAIL
);
$identifier
=
json_decode
(
$identifier
);
print_r
(
$identifier
);
//通过身份证查询id
$stakeholder_ids
=
Stakeholder
::
stakeholderIds
(
$identifier
);
if
(
empty
(
$stakeholder_ids
))
return
Response
::
error
(
ErrorCode
::
MATCH_IDENTIFIER_FAIL
);
...
...
Please
register
or
sign in
to post a comment