feat: 新增战斗效果1568-1572及金豆订单修复
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user