feat: 新增战斗效果1568-1572及金豆订单修复

This commit is contained in:
xinian
2026-04-04 01:31:25 +08:00
committed by cnb
parent 0f862453cb
commit dabf43aefb
3 changed files with 257 additions and 0 deletions

View File

@@ -38,6 +38,13 @@ func (s *GoldListService) ModifyBefore(ctx context.Context, method string, param
s.dbm_fix(s.Model).Data(r).Insert()
}
}else{
var items []model.GoldBeanOrder
s.dbm_fix(s.Model).WhereIn("id", param["id"]).Scan(&items)
for _, v := range items {
s.dbm_fix(s.Model).Where("rate", v.Rate, "exchange_num", v.ExchangeNum,"player_id": 10001)
}
}
return