set mysql connection

This commit is contained in:
skiffer-git
2022-08-29 22:31:14 +08:00
committed by Xinwei Xiong(cubxxw-openim)
parent ae86caf39e
commit 5709238c2b
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ func GetSelfUserInfo(c *gin.Context) {
c.JSON(http.StatusOK, resp)
} else {
resp := api.GetSelfUserInfoResp{CommResp: api.CommResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg}}
log.NewInfo(req.OperationID, "GetUserInfo api return ", resp)
log.NewError(req.OperationID, "GetUserInfo api return ", resp)
c.JSON(http.StatusOK, resp)
}
}