mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
test
This commit is contained in:
parent
e31da8bbd0
commit
d9f5f960a5
@ -37,7 +37,7 @@ func Login(c *gin.Context) {
|
|||||||
|
|
||||||
r, err := im_mysql_model.GetRegister(account)
|
r, err := im_mysql_model.GetRegister(account)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.NewError(params.OperationID, "user have not register", params.Password, account)
|
log.NewError(params.OperationID, "user have not register", params.Password, account, err.Error())
|
||||||
c.JSON(http.StatusOK, gin.H{"errCode": constant.NotRegistered, "errMsg": "Mobile phone number is not registered"})
|
c.JSON(http.StatusOK, gin.H{"errCode": constant.NotRegistered, "errMsg": "Mobile phone number is not registered"})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user