Files
bl/modules/config/controller/admin/shop.go
昔念 fc9697926c
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
```
feat(config): 修改店铺配置管理API前缀

统一管理后台API路径规范,将店铺配置相关接口前缀从"config/shop"
修改为"/admin/config/shop",以更好地匹配管理后台路由结构。
```
2026-02-20 23:50:57 +08:00

23 lines
377 B
Go

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(),
},
})
}