feat:优化项目信息,增加用户器材信息管理

This commit is contained in:
henry
2021-11-30 17:33:05 +08:00
parent d2fb5849c3
commit edb9253c86
14 changed files with 246 additions and 215 deletions

View File

@ -176,10 +176,6 @@ func registerEnterpriseAPI(app *gin.Engine) {
technologyV1.POST("/topic/add", _api.TopicAdd)
technologyV1.POST("/topic/edit", _api.TopicEdit)
technologyV1.POST("/topic/delete", _api.TopicDelete)
technologyV1.POST("/equipment", _api.Equipment)
technologyV1.POST("/equipment/add", _api.EquipmentAdd)
technologyV1.POST("/equipment/edit", _api.EquipmentEdit)
technologyV1.POST("/equipment/delete", _api.EquipmentDelete)
technologyV1.POST("/product", _api.Product)
technologyV1.POST("/product/add", _api.ProductAdd)
technologyV1.POST("/product/edit", _api.ProductEdit)
@ -209,6 +205,10 @@ func registerEnterpriseAPI(app *gin.Engine) {
manageV1.POST("/enterprise/add", _api.EnterpriseAdd)
manageV1.POST("/enterprise/edit", _api.EnterpriseEdit)
manageV1.POST("/enterprise/delete", _api.EnterpriseDelete)
manageV1.POST("/equipment", _api.Equipment)
manageV1.POST("/equipment/add", _api.EquipmentAdd)
manageV1.POST("/equipment/edit", _api.EquipmentEdit)
manageV1.POST("/equipment/delete", _api.EquipmentDelete)
}
// Identity 身份信息
identityV1 := v1.Group("/config")