Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nbya
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
haoyanbin
nbya
Commits
f2bf989b
Commit
f2bf989b
authored
3 years ago
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
User
parent
a0d7aa3c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
org_user.go
app/operate/router/org_user.go
+1
-1
org_user.go
app/operate/service/dto/org_user.go
+1
-1
No files found.
app/operate/router/org_user.go
View file @
f2bf989b
...
...
@@ -20,7 +20,7 @@ func registerOrgUserRouter(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddle
r
.
GET
(
""
,
api
.
GetPage
)
r
.
GET
(
"/:id"
,
api
.
Get
)
r
.
POST
(
""
,
api
.
Insert
)
r
.
PUT
(
"/:
i
d"
,
api
.
Update
)
r
.
PUT
(
"/:
userI
d"
,
api
.
Update
)
r
.
DELETE
(
""
,
api
.
Delete
)
}
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_user.go
View file @
f2bf989b
...
...
@@ -55,7 +55,7 @@ func (s *OrgUserInsertReq) GetId() interface{} {
}
type
OrgUserUpdateReq
struct
{
UserId
int
`
json:"-
" comment:""`
//
UserId
int
`
uri:"userId
" comment:""`
//
RoleId
string
`json:"roleId" comment:"角色id"`
NickName
string
`json:"nickName" comment:"姓名"`
NickNameEn
string
`json:"nickNameEn" comment:"姓名"`
...
...
This diff is collapsed.
Click to expand it.
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