Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sdk-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
sdk-api
Commits
a94f0866
Commit
a94f0866
authored
Jul 23, 2024
by
贾浩@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update add uid resp
parent
8d421778
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
api.go
model/api/api.go
+1
-0
user.go
server/user.go
+1
-0
No files found.
model/api/api.go
View file @
a94f0866
...
@@ -11,6 +11,7 @@ type CheckUserResponse struct {
...
@@ -11,6 +11,7 @@ type CheckUserResponse struct {
Keystore
string
`json:"keystore"`
Keystore
string
`json:"keystore"`
Token
string
`json:"token"`
Token
string
`json:"token"`
TaskId
string
`json:"task_id"`
TaskId
string
`json:"task_id"`
Uid
string
`json:"uid"`
}
}
type
CreateUserRequest
struct
{
type
CreateUserRequest
struct
{
...
...
server/user.go
View file @
a94f0866
...
@@ -182,6 +182,7 @@ func login(c *gin.Context) {
...
@@ -182,6 +182,7 @@ func login(c *gin.Context) {
IsNewUser
:
!
isExistKeystore
,
IsNewUser
:
!
isExistKeystore
,
Keystore
:
keystore
,
Keystore
:
keystore
,
Token
:
token
,
Token
:
token
,
Uid
:
uid
,
}
}
if
!
isExistKeystore
{
if
!
isExistKeystore
{
...
...
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