You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
473 B

package app
import (
"github.com/gogf/gf/v2/net/ghttp"
"xgit.pub/module/cms/app/controller/category"
"xgit.pub/module/cms/app/controller/collect"
"xgit.pub/module/cms/app/controller/video"
_ "xgit.pub/module/cms/app/logic"
)
var (
Version = "0.0.1"
Module = "CMS"
)
func RegeditPlugin(g *ghttp.RouterGroup) (err error) {
g.Group("/cms", func(group *ghttp.RouterGroup) {
group.Bind(
video.NewV1(),
category.NewV1(),
collect.NewV1(),
)
})
return
}