web_manufacture_weigh_router.go
1000 字节
package routers
import (
"github.com/beego/beego/v2/server/web"
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/port/beego/middleware"
)
func init() {
// 车间列表
web.Post("/v1/manufacture-weigh/workshops/selector", middleware.RedirectManufactureWeigh())
// 车间员工
web.Post("/v1/manufacture-weigh/product-groups/employees", middleware.RedirectManufactureWeigh())
// 生产批次列表
web.Post("/v1/manufacture-weigh/product-plans/search", middleware.RedirectManufactureWeigh())
// 物料列表
web.Post("/v1/manufacture-weigh/unit-conversions/materials", middleware.RedirectManufactureWeigh())
// 领料
web.Post("/v1/manufacture-weigh/product-plans/receive-material", middleware.RedirectManufactureWeigh())
// 退料
web.Post("/v1/manufacture-weigh/product-plans/return-material", middleware.RedirectManufactureWeigh())
// 提交二级品
web.Post("/v1/manufacture-weigh/product-plans/submit-product-record", middleware.RedirectManufactureWeigh())
}