feat(config): 完善特效服务配置

- 添加UniqueKey字段配置索引唯一性校验
- 配置PageQueryOp支持关键词搜索功能
- 设置关键词搜索字段为desc描述字段
```
This commit is contained in:
2026-01-01 01:34:36 +08:00
parent 9ae66a42d1
commit 3347200b72

View File

@@ -27,9 +27,11 @@ func NewEffectService() *EffectService {
return &EffectService{
&cool.Service{
Model: model.NewPlayerPetSpecialEffect(),
Model: model.NewPlayerPetSpecialEffect(),
UniqueKey: map[string]string{"idx_se_idx": "索引不能重复"},
PageQueryOp: &cool.QueryOp{
KeyWordField: []string{"desc"},
},
},
}
}