Commit 203effbd authored by 陈子龙's avatar 陈子龙

工单管理 fix

parent 0bf8ccfd
......@@ -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"` // 账号
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment