From 24e7e44d6a487bbae7f9dd2187b1381155290e75 Mon Sep 17 00:00:00 2001 From: majun Date: Thu, 9 Apr 2026 17:50:02 +0800 Subject: [PATCH] =?UTF-8?q?2026-04-09=2017:50=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=82=AE=E7=AE=B1=E6=A0=BC=E5=BC=8F=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v1/hk_member.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/hk_member.go b/api/v1/hk_member.go index 7667a7a..1db5ac9 100644 --- a/api/v1/hk_member.go +++ b/api/v1/hk_member.go @@ -29,7 +29,7 @@ type InsertHKMemberReq struct { Code string `p:"code" v:"required#请选取国家地区!"` Tel string `p:"tel" v:"required#电话号码不可为空!"` WeChat string `p:"weChat"` - Email string `p:"email" v:"required#邮箱号不可为空!"` + Email string `p:"email" v:"required|email#邮箱号不可为空!|请填写正确的邮箱号!"` FeedbackType int `p:"feedback_type"` FeedbackContent string `p:"feedback_content" v:"required-with:FeedbackType#请填写反馈内容!"` }