fix🐛: 修复参数验证信息
This commit is contained in:
1 parent
b4a6f82f5f
commit
2441412714
1 file changed
+2
-2
@@ -38,8 +38,8 @@ func (m *SysUserGetPageReq) GetNeedSearch() interface{} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ResetSysUserPwdReq struct {
|
type ResetSysUserPwdReq struct {
|
||||||
UserId int `json:"userId" comment:"用户ID" binding:"required"` // 用户ID
|
UserId int `json:"userId" comment:"用户ID" vd:"$>0"` // 用户ID
|
||||||
Password string `json:"password" comment:"密码" binding:"required"`
|
Password string `json:"password" comment:"密码" vd:"len($)>0"`
|
||||||
common.ControlBy
|
common.ControlBy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user