From 203effbdb792be88905fb0a789a0a61f3f93ccc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AD=90=E9=BE=99?= Date: Thu, 6 Jul 2023 13:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E7=AE=A1=E7=90=86=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bean/vo/request/work_order.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bean/vo/request/work_order.go b/src/bean/vo/request/work_order.go index 7eb2627..4550572 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"` // 账号 -- 2.26.0