tidy code

This commit is contained in:
wenxu12345
2021-12-28 18:18:35 +08:00
parent 141936e609
commit 6d589a1204
4 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -81,6 +81,6 @@ func UserToken(c *gin.Context) {
resp := api.UserTokenResp{CommResp: api.CommResp{ErrCode: reply.CommonResp.ErrCode, ErrMsg: reply.CommonResp.ErrMsg},
UserToken: api.UserTokenInfo{UserID: req.FromUserID, Token: reply.Token, ExpiredTime: reply.ExpiredTime}}
c.JSON(http.StatusOK, resp)
log.NewInfo(req.OperationID, "UserRegister return ", resp)
c.JSON(http.StatusOK, resp)
}