debug toekn

This commit is contained in:
eson
2023-10-18 11:07:48 +08:00
parent c35e1402c3
commit 8d7ee20a28
7 changed files with 43 additions and 40 deletions

View File

@@ -41,8 +41,8 @@ func (l *UpdateProfileBaseLogic) UpdateProfileBase(req *types.ProfileRequest, us
err := l.svcCtx.AllModels.FsUserInfo.MergeMetadata(userinfo.UserId, req)
if err != nil {
logx.Error(err) // 日志记录错误
return resp.SetStatus(basic.CodeDbSqlErr, err.Error()) // 返回数据库创建错误
logx.Error(err) // 日志记录错误
return resp.SetStatus(basic.CodeDbSqlErr, err) // 返回数据库创建错误
}
return resp.SetStatus(basic.CodeOK)