22 lines
319 B
Go
22 lines
319 B
Go
|
|
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"},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
}
|
||
|
|
}
|