激活码改成激活邮件
This commit is contained in:
parent
633fc30fcd
commit
4b4acda24f
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue