From fea80d5377f2ac7fe25ba404cbaf2f816c7d62fb Mon Sep 17 00:00:00 2001 From: majun Date: Fri, 10 Apr 2026 17:24:06 +0800 Subject: [PATCH] =?UTF-8?q?2026-04-10=2017:30=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=8F=8D=E9=A6=88=E7=B1=BB=E5=9E=8B=E7=9A=84=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v1/hk_member.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1/hk_member.go b/api/v1/hk_member.go index 1db5ac9..970bf1e 100644 --- a/api/v1/hk_member.go +++ b/api/v1/hk_member.go @@ -16,7 +16,7 @@ type GetHKMemberListRes struct { Telephone string `json:"telephone" orm:"telephone" description:"电话号码"` Wechat string `json:"wechat" orm:"wechat" description:"微信ID"` Email string `json:"email" orm:"email" description:"邮箱"` - FeedbackType int `json:"feedback_type" orm:"feedback_type" description:"反馈类型(1:功能建议 2:问题反馈 3:体验优化 4:其他建议)"` + FeedbackType string `json:"feedback_type" orm:"feedback_type" description:"反馈类型(1:功能建议 2:问题反馈 3:体验优化 4:其他建议)"` FeedbackContent string `json:"feedback_content" orm:"feedback_content" description:"反馈内容"` IsRelated int `json:"isRelated" orm:"is_related" description:"是否联系"` Note string `json:"note" orm:"note" description:"备注"` @@ -30,7 +30,7 @@ type InsertHKMemberReq struct { Tel string `p:"tel" v:"required#电话号码不可为空!"` WeChat string `p:"weChat"` Email string `p:"email" v:"required|email#邮箱号不可为空!|请填写正确的邮箱号!"` - FeedbackType int `p:"feedback_type"` + FeedbackType string `p:"feedback_type"` FeedbackContent string `p:"feedback_content" v:"required-with:FeedbackType#请填写反馈内容!"` }