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#请填写反馈内容!"` }