Merge pull request '1' (#911) from feat-IRONFANS-1000063-Robin into test

Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/service/pulls/911
This commit is contained in:
chenhao 2024-12-17 14:01:39 +08:00
commit 3a24b971a0
1 changed files with 3 additions and 2 deletions

View File

@ -101,7 +101,7 @@ func OpGetAccountListByUserId(ctx *gin.Context) {
func OpGetMobilePhoneByUserId(ctx *gin.Context) {
req := ctx.MustGet("client_req").(*accountproto.OpGetMobilePhoneByUserIdReq)
mobilePhone, ec := service.DefaultService.OpGetMobilePhoneByUserId(ctx, req)
mobilePhone, vo, ec := service.DefaultService.OpGetMobilePhoneByUserId(ctx, req)
if ec != errcode.ErrCodeAccountSrvOk {
logger.Error("OpGetMobilePhoneByUserId fail, req: %v, ec: %v", util.ToJson(req), ec)
ReplyErrCodeMsg(ctx, ec)
@ -109,7 +109,8 @@ func OpGetMobilePhoneByUserId(ctx *gin.Context) {
}
data := &accountproto.OpGetMobilePhoneByUserIdData{
MobilePhone: mobilePhone,
MobilePhone: mobilePhone,
OpListOthersVO: vo,
}
ReplyOk(ctx, data)