This commit is contained in:
@@ -34,7 +34,7 @@ type DuihuanGoldAddReq struct {
|
||||
func (c *GoldListController) DuihuanGold(ctx context.Context, req *DuihuanGoldAddReq) (res *cool.BaseRes, err error) {
|
||||
t := cool.GetAdmin(ctx)
|
||||
|
||||
_, err = service.NewGoldListService(0).Trade(ctx, req.ID, t.UserId)
|
||||
_, err = service.NewGoldListService(0).Trade(ctx, req.ID, uint32(t.UserId))
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user