Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
xuzhenhao
/
xuzhenhao-dev-icesimbapolysdklogin
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 afcdd599
authored
Dec 12, 2017
by
xuzhenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调试
1 parent
393c3019
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/loginserver/models/user.go
src/loginserver/models/user.go
View file @
afcdd59
...
...
@@ -220,7 +220,7 @@ func CheckRequestToken(token string) (result interface{}, err error) {
}
if
len
(
r
)
==
0
{
err
=
errors
.
New
(
"token已失效"
)
return
"
"
,
nil
return
"
105005"
,
err
}
return
string
(
r
[
0
][
"user_id"
]),
nil
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment