Merge pull request 'by Robin at 20230110; fix' (#50) from feat-20240109-001-Robin into test
Reviewed-on: #50
This commit is contained in:
commit
8545955ac0
|
@ -1455,6 +1455,20 @@ func (s *Service) OpUpdateStreamer(ctx *gin.Context, req *streamerproto.OpUpdate
|
|||
ec = errcode.ErrCodeStreamerSrvFail
|
||||
return
|
||||
}
|
||||
|
||||
err = _DefaultVas.UpdateWechat(ctx, &vasproto.UpdateWechatReq{
|
||||
BaseRequest: base.BaseRequest{
|
||||
Mid: util.DerefInt64(req.Streamer.Mid),
|
||||
},
|
||||
WechatLockType: util.DerefInt32(req.Streamer.WechatLockType),
|
||||
WechatContact: util.DerefString(req.Streamer.WechatContact),
|
||||
WechatCoinPrice: util.DerefInt64(req.Streamer.WechatCoinPrice),
|
||||
})
|
||||
if err != nil {
|
||||
logger.Error("UpdateWechat fail, mid: %v, err: %v", err)
|
||||
ec = errcode.ErrCodeStreamerSrvFail
|
||||
return
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue