Merge pull request 'by Robin at 20230110; fix' (#51) from feat-20240109-001-Robin into main
Reviewed-on: #51
This commit is contained in:
commit
439f80db54
|
@ -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