|
@@ -42,7 +42,15 @@ func init() {
|
|
|
ExposeHeaders: []string{"Content-Length", "Access-Control-Allow-Origin", "Access-Control-Allow-Headers", "Content-Type"},
|
|
|
AllowCredentials: true,
|
|
|
}))
|
|
|
- ns := web.NewNamespace("/adminapi",
|
|
|
+ ns := web.NewNamespace("/v1",
|
|
|
+ web.NSNamespace("/ppt",
|
|
|
+ web.NSInclude(
|
|
|
+ &controllers.PptController{},
|
|
|
+ ),
|
|
|
+ web.NSInclude(
|
|
|
+ &controllers.PptCommonController{},
|
|
|
+ ),
|
|
|
+ ),
|
|
|
web.NSNamespace("/sysuser",
|
|
|
web.NSInclude(
|
|
|
&controllers.SysUserController{},
|