admin_api_router_register.go 863B

1234567891011121314151617
  1. package admin_api_controllers
  2. import "github.com/astaxie/beego"
  3. // 管理员后台路由,以 /admin/api 为前缀
  4. func AdminAPIControllersRegisterRouters() {
  5. beego.Router("/admin/api/login/pwd", &LoginAPIController{}, "post:LoginByPwd")
  6. beego.Router("/admin/api/org/regist", &AnalysisAPIController{}, "get:RegistOrg")
  7. beego.Router("/admin/api/org/active", &AnalysisAPIController{}, "get:ActiveOrg")
  8. beego.Router("/admin/api/user/active", &AnalysisAPIController{}, "get:ActiveUser")
  9. beego.Router("/admin/api/org/expiring", &AnalysisAPIController{}, "get:ExpiringOrg")
  10. beego.Router("/admin/api/dialysis/analysis", &AnalysisAPIController{}, "get:DialysisAnalysis")
  11. beego.Router("/admin/api/monitor/analysis", &AnalysisAPIController{}, "get:MonitorAnalysis")
  12. beego.Router("/admin/api/patient/analysis", &AnalysisAPIController{}, "get:PatientAnalysis")
  13. }