修复用户权限问题
This commit is contained in:
parent
601e69a384
commit
07cd44e62d
|
|
@ -2,7 +2,7 @@ package proto
|
|||
|
||||
type UpdateUserInfoReq struct {
|
||||
ID int `json:"id" form:"id"` //用户id
|
||||
Username string `json:"username" form:"username"` //用户名
|
||||
Username string `json:"name" form:"name"` //用户名
|
||||
Age int `json:"age" form:"age"` //年龄
|
||||
Role string `json:"role" form:"role"` //角色
|
||||
Gender string `json:"gender" form:"gender"` //性别
|
||||
|
|
|
|||
Loading…
Reference in New Issue