This commit is contained in:
@@ -21,7 +21,11 @@ func NewShinyService() *ShinyService {
|
||||
&cool.Service{
|
||||
Model: model.NewColorfulSkin(),
|
||||
ListQueryOp: &cool.QueryOp{
|
||||
FieldEQ: []string{"is_enable"},
|
||||
Where: func(ctx context.Context) []g.Array {
|
||||
return []g.Array{
|
||||
{"is_enable", 1},
|
||||
}
|
||||
},
|
||||
},
|
||||
InsertParam: func(ctx context.Context) g.MapStrAny {
|
||||
admin := cool.GetAdmin(ctx)
|
||||
|
||||
Reference in New Issue
Block a user