fix🐛: 修复创建用户时的问题 ( #506)

This commit is contained in:
zhangwenjian
2021-07-28 08:45:39 +08:00
parent 6b88c9a004
commit 981313c0e2
+1 -1
View File
@@ -98,7 +98,7 @@ type SysUserInsertReq struct {
Avatar string `json:"avatar" comment:"头像"` Avatar string `json:"avatar" comment:"头像"`
Sex string `json:"sex" comment:"性别"` Sex string `json:"sex" comment:"性别"`
Email string `json:"email" comment:"邮箱" vd:"len($)>0,email"` Email string `json:"email" comment:"邮箱" vd:"len($)>0,email"`
DeptId int `json:"deptId" comment:"部门" vd:"len($)>0"` DeptId int `json:"deptId" comment:"部门" vd:"$>0"`
PostId int `json:"postId" comment:"岗位"` PostId int `json:"postId" comment:"岗位"`
Remark string `json:"remark" comment:"备注"` Remark string `json:"remark" comment:"备注"`
Status string `json:"status" comment:"状态" vd:"len($)>0" default:"1"` Status string `json:"status" comment:"状态" vd:"len($)>0" default:"1"`