Files
bl/modules/player/controller/admin/item.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
476 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package admin
import (
"blazing/cool"
"blazing/modules/player/service"
)
type ItemBagController struct {
*cool.Controller
}
func init() {
var task_info_controller = &ItemBagController{
&cool.Controller{
Prefix: "/admin/game/item",
Api: []string{"Delete", "Update", "Info", "List", "Page"},
Service: service.NewItemService(0), //因为page已经过滤所以这里需要改成0
},
}
// 注册路由
cool.RegisterController(task_info_controller)
}