fix: 第三方登录注销 #500

This commit is contained in:
1808837298@qq.com
2024-09-25 17:13:28 +08:00
parent 0f95502b04
commit 972ac1ee0f
5 changed files with 25 additions and 19 deletions

View File

@@ -159,8 +159,9 @@ func Register(c *gin.Context) {
if err != nil {
c.JSON(http.StatusOK, gin.H{
"success": false,
"message": err.Error(),
"message": "数据库错误,请稍后重试",
})
common.SysError(fmt.Sprintf("CheckUserExistOrDeleted error: %v", err))
return
}
if exist {