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.

23 lines
410 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.Bind(
  15. video.NewV1(),
  16. category.NewV1(),
  17. collect.NewV1(),
  18. )
  19. return
  20. }