Browse Source

2026-04-10 17:30

修改反馈类型的字段类型
master
majun 3 days ago
parent
commit
fea80d5377
  1. 4
      api/v1/hk_member.go

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

Loading…
Cancel
Save