refactor: refactor mobile pages for the chat model updating

This commit is contained in:
RockYang
2023-09-04 18:15:56 +08:00
parent 32774d23c7
commit a49fb1940e
12 changed files with 564 additions and 172 deletions

View File

@@ -76,7 +76,7 @@ func (h *UserHandler) Register(c *gin.Context) {
var item model.User
res := h.db.Where("mobile = ?", data.Mobile).First(&item)
if res.RowsAffected > 0 {
resp.ERROR(c, "该手机号码以及被注册,请更换其他手机号")
resp.ERROR(c, "该手机号码已经被注册,请更换其他手机号")
return
}