anchorUpdate.go 330 B

123456789101112131415
  1. package xanchor
  2. import (
  3. "context"
  4. XanchorV1 "go-common/app/service/live/dao-anchor/api/grpc/v1"
  5. )
  6. // UpdateAnchorInfo 更新主播经验db
  7. func (d *Dao) UpdateAnchorInfo(ctx context.Context, params *XanchorV1.AnchorIncreReq) (err error) {
  8. _, err = d.xuserGRPC.AnchorIncre(ctx, params)
  9. if err != nil {
  10. return
  11. }
  12. return
  13. }