feat(config): 修改店铺配置管理API前缀 统一管理后台API路径规范,将店铺配置相关接口前缀从"config/shop" 修改为"/admin/config/shop",以更好地匹配管理后台路由结构。 ```
This commit is contained in:
@@ -14,7 +14,7 @@ func init() {
|
||||
// 注册路由
|
||||
cool.RegisterController(&ShopController{
|
||||
&cool.Controller{
|
||||
Prefix: "config/shop",
|
||||
Prefix: "/admin/config/shop",
|
||||
Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"},
|
||||
Service: service.NewShopService(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user