go-common/app/service/live/xuser/dao/xanchor/anchorUpdate.go

16 lines
330 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package xanchor
import (
"context"
XanchorV1 "go-common/app/service/live/dao-anchor/api/grpc/v1"
)
// UpdateAnchorInfo 更新主播经验db
func (d *Dao) UpdateAnchorInfo(ctx context.Context, params *XanchorV1.AnchorIncreReq) (err error) {
_, err = d.xuserGRPC.AnchorIncre(ctx, params)
if err != nil {
return
}
return
}