mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-06 01:03:43 +08:00
refactor: refactor mobile pages for the chat model updating
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user