diff --git a/src/bean/vo/request/work_order.go b/src/bean/vo/request/work_order.go index 7eb26279517db0916e5f6166280c7540dfbaef67..45505722f1b3a3f258b0a356017e738e340485fd 100644 --- a/src/bean/vo/request/work_order.go +++ b/src/bean/vo/request/work_order.go @@ -12,8 +12,8 @@ type AddWorkOrderReq struct { // 推送对象 type PushObj struct { - PushMethod int `json:"push_method" binding:"oneof=1 2 3"` // 推送方式(1钉钉 2短信 3all) - UserObj []UserObj `json:"user_obj" binding:"oneof=1 2 3,dive"` // 用户对象 + PushMethod int `json:"push_method" binding:"oneof=1 2 3"` // 推送方式(1钉钉 2短信 3all) + UserObj []UserObj `json:"user_obj" binding:"dive"` // 用户对象 } type UserObj struct { SystemAccount string `json:"system_account" binding:"required"` // 账号