Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

update ActionRecordReq

aichy126f266da8cea7e
diff --git a/internal/schema/user_schema.go b/internal/schema/user_schema.go
index df22648d..0a5203b7 100644
--- a/internal/schema/user_schema.go
+++ b/internal/schema/user_schema.go
@@ -379,7 +379,7 @@ type UserNoticeSetResp struct {
type ActionRecordReq struct {
// action
- Action string `validate:"required,oneof=login e_mail find_pass" form:"action"`
+ Action string `validate:"required,oneof=login e_mail find_pass modify_pass" form:"action"`
IP string `json:"-"`
}