1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-04-21 02:27:11 +08:00
parent c4d3ab725c
commit 77909a5940
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}