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

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
  1. package app
  2. import (
  3. "github.com/gogf/gf/v2/net/ghttp"
  4. "xgit.pub/module/cms/app/controller/category"
  5. "xgit.pub/module/cms/app/controller/collect"
  6. "xgit.pub/module/cms/app/controller/video"
  7. _ "xgit.pub/module/cms/app/logic"
  8. )
  9. var (
  10. Version = "0.0.1"
  11. Module = "CMS"
  12. )
  13. func RegeditPlugin(g *ghttp.RouterGroup) (err error) {
  14. g.Group("/cms", func(group *ghttp.RouterGroup) {
  15. group.Bind(
  16. video.NewV1(),
  17. category.NewV1(),
  18. collect.NewV1(),
  19. )
  20. })
  21. return
  22. }