From 981313c0e285f663c3f478a34df52a521935893a Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Wed, 28 Jul 2021 08:45:39 +0800 Subject: [PATCH] =?UTF-8?q?fix=F0=9F=90=9B:=20=E4=BF=AE=E5=A4=8D=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E7=94=A8=E6=88=B7=E6=97=B6=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(=20#506)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/service/dto/sys_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/service/dto/sys_user.go b/app/admin/service/dto/sys_user.go index e9b9ece..5112343 100644 --- a/app/admin/service/dto/sys_user.go +++ b/app/admin/service/dto/sys_user.go @@ -98,7 +98,7 @@ type SysUserInsertReq struct { Avatar string `json:"avatar" comment:"头像"` Sex string `json:"sex" comment:"性别"` 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:"岗位"` Remark string `json:"remark" comment:"备注"` Status string `json:"status" comment:"状态" vd:"len($)>0" default:"1"`