sso

index_controller.go 942B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package controllers
  2. import (
  3. "github.com/astaxie/beego"
  4. )
  5. type IndexController struct {
  6. BaseController
  7. }
  8. // / [get]
  9. func (this *IndexController) Index() {
  10. this.SetTpl("new_main/index.html")
  11. }
  12. // /scrm [get]
  13. func (this *IndexController) SCRMIndex() {
  14. this.Data["module_url"] = beego.AppConfig.String("submodule_domain_patient_manage")
  15. this.SetTpl("new_main/scrm_index.html")
  16. }
  17. // /mmall [get]
  18. func (this *IndexController) MircoMallIndex() {
  19. this.Data["module_url"] = beego.AppConfig.String("submodule_domain_mall_manage")
  20. this.SetTpl("new_main/mircomall_index.html")
  21. }
  22. // /xt [get]
  23. func (this *IndexController) XTIndex() {
  24. this.Data["module_url"] = beego.AppConfig.String("submodule_domain_dialysis_manage")
  25. this.SetTpl("new_main/xt_index.html")
  26. }
  27. // /cdm [get]
  28. func (this *IndexController) CDMIndex() {
  29. this.Data["module_url"] = beego.AppConfig.String("submodule_domain_cdm_manage")
  30. this.SetTpl("new_main/cdm_index.html")
  31. }