|
|
@ -1,6 +1,12 @@ |
|
|
|
package app |
|
|
|
|
|
|
|
import "github.com/gogf/gf/v2/net/ghttp" |
|
|
|
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" |
|
|
@ -8,5 +14,10 @@ var ( |
|
|
|
) |
|
|
|
|
|
|
|
func RegeditPlugin(g *ghttp.RouterGroup) (err error) { |
|
|
|
g.Bind( |
|
|
|
video.NewV1(), |
|
|
|
category.NewV1(), |
|
|
|
collect.NewV1(), |
|
|
|
) |
|
|
|
return |
|
|
|
} |