feat:完善项目

This commit is contained in:
henry
2021-11-10 16:07:09 +08:00
parent 863edee71c
commit 5ffb79b4fa
10 changed files with 170 additions and 43 deletions

View File

@ -143,11 +143,13 @@ func (this *Router) registerAPI() {
{
_api := new(api.Manage)
manageV1.POST("/equipment", _api.Equipment)
manageV1.GET("/equipment/select", _api.EquipmentSelect)
manageV1.POST("/equipment/detail", _api.EquipmentDetail)
manageV1.POST("/equipment/add", _api.EquipmentAdd)
manageV1.POST("/equipment/edit", _api.EquipmentEdit)
manageV1.POST("/equipment/delete", _api.EquipmentDelete)
manageV1.POST("/material", _api.Material)
manageV1.GET("/material/select", _api.MaterialSelect)
manageV1.POST("/material/add", _api.MaterialAdd)
manageV1.POST("/material/edit", _api.MaterialEdit)
manageV1.POST("/material/delete", _api.MaterialDelete)