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

feat(boss-fight): 调整宠物战斗奖励逻辑

修复闪亮怪物奖励物品的位置,将奖励物品发放逻辑从条件判断前移到判断后,
确保只有符合条件的玩家才能获得玄铁奖励。

fix(player-energy): 修复能量时间消耗问题

注释掉EnergyTime的自动减1逻辑,避免玩家能量值异常减少。

refactor(shop-config): 优化商店查询配置

移除商品名称字段查询,只保留remark字段作为关键词搜索,
简化商品表的SELECT语句,提高查询效率。
```
This commit is contained in:
昔念
2026-03-04 12:48:49 +08:00
parent fb78147035
commit 3f59f1a353
3 changed files with 10 additions and 10 deletions

View File

@@ -23,11 +23,11 @@ func NewShopService() *ShopService {
{"is_enable", 1, true},
}
},
Select: "product_id,product_name,seerdou_price,jindou_price,remark",
Select: "product_id,seerdou_price,jindou_price,remark",
},
PageQueryOp: &cool.QueryOp{
KeyWordField: []string{"desc", "product_name"},
KeyWordField: []string{"remark"},
},
},
}