fix(common): 更新查询操作字段注释并调整错误码

更新 `common/cool/service.go` 中 `QueryOp` 结构体字段的注释,明确 `FieldEQ` 和 `KeyWordField` 的用途。
同时修改玩家物品添加逻辑中的错误码,从 `ErrBaseItemTypeLimit` 改为 `ErrSystemError200007`。

在 `modules/blazing/service/item.go` 中为分页查询添加 `KeyWordField` 配置,支持按 `player_id` 搜索。

注释掉 `modules/blazing/service/pet_fusion
This commit is contained in:
2025-12-04 01:33:37 +08:00
parent f8ba7988d0
commit 9c172d4ff7
4 changed files with 5 additions and 3 deletions

View File

@@ -308,7 +308,7 @@ func (p *Player) ItemAdd(t ...model.ItemInfo) (result []model.ItemInfo) {
cool.Loger.Error(context.TODO(), "物品不存在", v.ItemId)
t1 := common.NewTomeeHeader(2601, p.Info.UserID)
t1.Result = uint32(errorcode.ErrorCodes.ErrBaseItemTypeLimit)
t1.Result = uint32(errorcode.ErrorCodes.ErrSystemError200007)
p.SendPack(t1.Pack(nil)) //准备包由各自发,因为协议不一样
continue