feat:完善项目

This commit is contained in:
henry
2021-11-10 15:09:31 +08:00
parent 095bdcfe4c
commit 863edee71c
6 changed files with 161 additions and 5 deletions

View File

@ -86,6 +86,7 @@ func (this *Router) registerAPI() {
{
_api := new(api.User)
userV1.GET("/info", _api.Info)
userV1.GET("/select", _api.Select)
userV1.GET("/menu", _api.Menu)
userV1.POST("/list", _api.List)
userV1.POST("/add", _api.Add)
@ -123,6 +124,7 @@ func (this *Router) registerAPI() {
supplierV1 := v1.Group("/supplier")
{
_api := new(api.Supplier)
supplierV1.POST("/select", _api.Select)
supplierV1.POST("/material", _api.Material)
supplierV1.POST("/material/add", _api.MaterialAdd)
supplierV1.POST("/material/edit", _api.MaterialEdit)