激活码改成激活邮件

This commit is contained in:
日下部 詩 2021-02-18 11:17:01 +08:00 committed by GitHub
parent 633fc30fcd
commit 4b4acda24f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,7 +109,7 @@ func (service *UserRegisterService) Register(c *gin.Context) serializer.Response
} }
if userNotActivated == true { if userNotActivated == true {
//原本在上面要抛出的DBErr放来这边抛出 //原本在上面要抛出的DBErr放来这边抛出
return serializer.DBErr("用户未激活,已重新发送激活", nil) return serializer.DBErr("用户未激活,已重新发送激活邮件", nil)
} else { } else {
return serializer.Response{Code: 203} return serializer.Response{Code: 203}
} }