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