feat:完善项目

This commit is contained in:
henry
2021-11-19 15:34:22 +08:00
parent 7efe403bf0
commit c5f4a5d281
10 changed files with 168 additions and 21 deletions

View File

@ -197,6 +197,7 @@ func (this *Router) registerAPI() {
workV1.POST("/examine", _api.Examine)
workV1.POST("/delete", _api.Delete)
workV1.GET("/schedule", _api.Schedule)
workV1.POST("/schedule/basic", _api.ScheduleBasic)
workV1.POST("/schedule/edit", _api.ScheduleEdit)
workV1.POST("/schedule/delete", _api.ScheduleDelete)
workV1.POST("/repair", _api.Repair)
@ -236,7 +237,7 @@ func (this *Router) Init() *gin.Engine {
app.MaxMultipartMemory = 4 << 20
this.handler = app
// 注册路由
this.registerWeb()
//this.registerWeb()
this.registerAPI()
return app