feat:完善项目

This commit is contained in:
henry
2021-11-17 11:11:39 +08:00
parent 48319d9632
commit 09cc956d42
10 changed files with 196 additions and 27 deletions

View File

@ -165,6 +165,9 @@ func (this *Router) registerAPI() {
manageV1.POST("/equipment/add", _api.EquipmentAdd)
manageV1.POST("/equipment/edit", _api.EquipmentEdit)
manageV1.POST("/equipment/delete", _api.EquipmentDelete)
manageV1.POST("/equipment/material", _api.EquipmentMaterial)
manageV1.POST("/equipment/material/bind", _api.EquipmentMaterialBind)
manageV1.POST("/equipment/material/delete", _api.EquipmentMaterialDelete)
manageV1.POST("/material", _api.Material)
manageV1.GET("/material/select", _api.MaterialSelect)
manageV1.POST("/material/add", _api.MaterialAdd)
@ -177,7 +180,7 @@ func (this *Router) registerAPI() {
manageV1.POST("/notice/detail", _api.NoticeDetail)
manageV1.POST("/notice/add", _api.NoticeAdd)
manageV1.POST("/notice/edit", _api.NoticeEdit)
manageV1.POST("/notice/delete", _api.NoticeEdit)
manageV1.POST("/notice/delete", _api.NoticeDelete)
}
// Work 工单管理
workV1 := v1.Group("/work")