Files
bl/modules/config/service/spt.go
昔念 823eef00ac
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed
1
2026-04-18 15:30:00 +08:00

32 lines
589 B
Go

package service
import (
"blazing/cool"
"blazing/modules/config/model"
)
type SptService struct {
*cool.Service
}
func NewSptService() *SptService {
return &SptService{
&cool.Service{
Model: model.NewSptConfig(),
ListQueryOp: &cool.QueryOp{
FieldEQ: []string{"is_enable"},
AddOrderby: map[string]string{
"task_id": "asc",
},
},
PageQueryOp: &cool.QueryOp{
FieldEQ: []string{"is_enable", "task_id"},
KeyWordField: []string{"title", "description", "remark"},
AddOrderby: map[string]string{
"task_id": "asc",
},
},
},
}
}