diff --git a/modules/config/service/shiny.go b/modules/config/service/shiny.go index 4b0788fb3..aefb921bf 100644 --- a/modules/config/service/shiny.go +++ b/modules/config/service/shiny.go @@ -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)