Files
bl/modules/config/controller/admin/shop.go

23 lines
377 B
Go
Raw Normal View History

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