This commit is contained in:
@@ -58,6 +58,7 @@ func NewItemService() *ItemService {
|
||||
Model: model.NewItemGift(),
|
||||
PageQueryOp: &cool.QueryOp{
|
||||
KeyWordField: []string{"remark"},
|
||||
FieldEQ: []string{"is_egg"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -13,6 +13,11 @@ func NewPetRewardService() *PetRewardService {
|
||||
return &PetRewardService{
|
||||
&cool.Service{
|
||||
Model: model.NewPetReward(),
|
||||
|
||||
PageQueryOp: &cool.QueryOp{
|
||||
|
||||
FieldEQ: []string{"is_egg", "is_light"},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user