package service import ( "blazing/cool" "blazing/modules/config/model" ) type MapPitService struct { *cool.Service } func NewMapPitService() *MapPitService { return &MapPitService{ &cool.Service{ Model: model.NewMapPit(), PageQueryOp: &cool.QueryOp{ KeyWordField: []string{"remake"}, FieldEQ: []string{"map_id"}, }, }, } }