bidsection.go 667 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * @description:标段相关
  3. * @Author: CP
  4. * @Date: 2020-09-07 17:28:36
  5. * @FilePath: \construction_management\web\controllers\bidsection.go
  6. */
  7. package controllers
  8. import (
  9. "github.com/kataras/iris/v12"
  10. "github.com/kataras/iris/v12/mvc"
  11. )
  12. type BidsectionController struct {
  13. //框架-web应用上下文环境
  14. Ctx iris.Context
  15. // 需要用的service
  16. //ServiceProject services.ProjectService
  17. }
  18. // 标段首页
  19. func (c *BidsectionController) Get() mvc.Result {
  20. return mvc.View{
  21. Name: "bidsection/index.html",
  22. Data: iris.Map{
  23. "Title": "标段",
  24. "Channel": "bidsection",
  25. "Action": "bidsection",
  26. },
  27. Layout: "bidsection/layout.html",
  28. }
  29. }