common_api_router.go 1.5KB

12345678910111213141516171819202122232425
  1. package new_mobile_api_controllers
  2. import (
  3. "github.com/astaxie/beego"
  4. )
  5. func CommonApiControllersRegisterRouters() {
  6. beego.Router("/com/api/getinspectionmajor", &CommonApiController{}, "Get:GetInspectionMajor")
  7. beego.Router("/com/api/getinspectionminor", &CommonApiController{}, "Get:GetInspectionMinor")
  8. beego.Router("/com/api/getinspectionrange", &CommonApiController{}, "Get:GetInspectionRange")
  9. beego.Router("/com/api/saveconfiguration", &CommonApiController{}, "Post:SaveConfiguration")
  10. beego.Router("com/api/getconfigurationlist", &CommonApiController{}, "Get:GetConfigurationlist")
  11. beego.Router("com/api/getconfigurationdetail", &CommonApiController{}, "Get:GetConfigurationDetail")
  12. beego.Router("com/api/getallinspectionminor", &CommonApiController{}, "Get:GetAllInspectionminor")
  13. beego.Router("com/api/updateconfiguration", &CommonApiController{}, "Post:UpdateConfiguration")
  14. beego.Router("com/api/deleteconfiguration", &CommonApiController{}, "Delete:DeleteConfiguration")
  15. beego.Router("com/api/getallinspectiondata", &CommonApiController{}, "Get:GetAllInspectiondata")
  16. beego.Router("/com/api/savecheckconfiguration", &CommonApiController{}, "Post:SaveCheckConfiguration")
  17. beego.Router("/com/api/getallchecklist", &CommonApiController{}, "Get:GetAllCheckList")
  18. beego.Router("/com/api/getcheckdetail", &CommonApiController{}, "Get:GetCheckdetail")
  19. beego.Router("/com/api/updatecheck", &CommonApiController{}, "Post:UpdateCheck")
  20. beego.Router("/com/api/deletecheck", &CommonApiController{}, "Delete:DeleteCheck")
  21. }