Files
bl/modules/config/controller/admin/egg.go
昔念 ffe3ff18bf
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
1
2026-02-08 17:57:42 +08:00

23 lines
421 B
Go

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