This commit is contained in:
wangchuxiao
2022-09-06 01:14:36 +08:00
parent 82a8f18e88
commit 821e704b5b
4 changed files with 14 additions and 24 deletions
+1
View File
@@ -57,6 +57,7 @@ func SetPassword(c *gin.Context) {
return
}
if Limited {
log.NewInfo(params.OperationID, utils.GetSelfFuncName(), "is limited", ip, "params:", params)
c.JSON(http.StatusBadRequest, gin.H{"errCode": constant.RegisterLimit, "errMsg": "limited"})
return
}