Files
bl/modules/config/controller/admin/fight_rule.go
xinian 1969c01f3e
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
feat: 添加战胜规则配置模块
2026-03-21 00:57:18 +08:00

23 lines
476 B
Go

package admin
import (
"blazing/cool"
"blazing/modules/config/service"
)
// FightRuleController 战胜规则Admin控制器
type FightRuleController struct {
*cool.Controller
}
func init() {
var fightRuleController = &FightRuleController{
&cool.Controller{
Prefix: "/admin/config/fightRule",
Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"},
Service: service.NewFightRuleService(),
},
}
cool.RegisterController(fightRuleController)
}