1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-04-15 00:19:21 +08:00
parent 3999f34f77
commit a58ef20fab

View File

@@ -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)