feat:完善项目
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user