正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -293,6 +293,7 @@ func UCenterRevoke(header *protocol.RequestHeader, userId int64) (rsp *protocol. | @@ -293,6 +293,7 @@ func UCenterRevoke(header *protocol.RequestHeader, userId int64) (rsp *protocol. | ||
| 293 | log.Error(err) | 293 | log.Error(err) |
| 294 | return | 294 | return |
| 295 | } | 295 | } |
| 296 | + err = transactionContext.CommitTransaction() | ||
| 296 | return | 297 | return |
| 297 | } | 298 | } |
| 298 | 299 | ||
| @@ -318,7 +319,7 @@ func CenterCompanys(header *protocol.RequestHeader, request *protocolx.CenterCom | @@ -318,7 +319,7 @@ func CenterCompanys(header *protocol.RequestHeader, request *protocolx.CenterCom | ||
| 318 | }() | 319 | }() |
| 319 | loginSvr.Init(request.Phone) | 320 | loginSvr.Init(request.Phone) |
| 320 | if len(loginSvr.Users) == 0 && len(loginSvr.PartnerInfo) == 0 { | 321 | if len(loginSvr.Users) == 0 && len(loginSvr.PartnerInfo) == 0 { |
| 321 | - err = protocol.NewErrWithMessage(10008) | 322 | + err = protocol.NewErrWithMessage(10001) |
| 322 | return | 323 | return |
| 323 | } | 324 | } |
| 324 | switch request.GrantType { | 325 | switch request.GrantType { |
-
请 注册 或 登录 后发表评论