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

This commit is contained in:
昔念
2026-02-08 17:57:42 +08:00
parent 2edd1ba852
commit ffe3ff18bf
25 changed files with 180 additions and 117 deletions

View File

@@ -0,0 +1,22 @@
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)
}