Files
bl/modules/config/controller/admin/shiny.go
昔念 922f7c3622
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
1
2026-02-20 21:34:27 +08:00

23 lines
381 B
Go

package admin
import (
"blazing/cool"
"blazing/modules/config/service"
)
type ColorController struct {
*cool.Controller
}
func init() {
// 注册路由
cool.RegisterController(&ColorController{
&cool.Controller{
Prefix: "/admin/config/shiny",
Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"},
Service: service.NewShinyService(),
},
})
}