diff --git a/app/router/admin_router.go b/app/router/admin_router.go index 3f57eef..2656b07 100644 --- a/app/router/admin_router.go +++ b/app/router/admin_router.go @@ -195,7 +195,7 @@ func rEnterpriseManage(r *gin.RouterGroup) { r.POST("/centralKitchenForSchool/periodList", hdl.CentralKitchenForSchoolPeriodList) //"央厨-学校"学段列表 r.DELETE("/centralKitchenForSchool/periodDelete/:id", hdl.CentralKitchenForSchoolPeriodDelete) //"央厨-学校"学段删除 r.POST("/centralKitchenForSchool/classList", hdl.CentralKitchenForSchoolClassList) //"央厨-学校"班级列表 - r.POST("/sort", hdl.CentralKitchenForSchoolClassSort) //"央厨-学校"班级排序 + r.POST("/centralKitchenForSchool/classSort", hdl.CentralKitchenForSchoolClassSort) //"央厨-学校"班级排序 r.DELETE("/centralKitchenForSchool/classDelete/:id", hdl.CentralKitchenForSchoolClassDelete) //"央厨-学校"班级删除 r.GET("/centralKitchenForSchool/classDeleteCheck/:id", hdl.CentralKitchenForSchoolClassDeleteCheck) //"央厨-学校"检测班级删除 r.POST("/centralKitchenForSchool/ordList", hdl.CentralKitchenForSchoolOrdList) //"央厨-学校"订单列表 @@ -237,7 +237,7 @@ func rEnterpriseManage(r *gin.RouterGroup) { r.POST("/selfSupportForSchool/gradeList", hdl.SelfSupportForSchoolGradeList) //"自营-学校"年级列表 r.DELETE("/selfSupportForSchool/gradeDelete/:id", hdl.SelfSupportForSchoolGradeDelete) //"自营-学校"年级删除 r.POST("/selfSupportForSchool/classList", hdl.SelfSupportForSchoolClassList) //"自营-学校"班级列表 - r.POST("/selfSupportForSchool/classList", hdl.SelfSupportForSchoolClassSort) //"自营-学校"班级列表 + r.POST("/selfSupportForSchool/classSort", hdl.SelfSupportForSchoolClassSort) //"自营-学校"班级排序 r.DELETE("/selfSupportForSchool/classDelete/:id", hdl.SelfSupportForSchoolClassDelete) //"自营-学校"班级删除 r.POST("/selfSupportForSchool/periodList", hdl.SelfSupportForSchoolPeriodList) //"央厨-学校"学段列表 r.DELETE("/selfSupportForSchool/periodDelete/:id", hdl.SelfSupportForSchoolPeriodDelete) //"央厨-学校"学段删除