animeic %!s(int64=2) %!d(string=hai) anos
pai
achega
c0feabaddc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      boxcost/api/supplier-price.go

+ 1 - 1
boxcost/api/supplier-price.go

@@ -148,7 +148,7 @@ func SupplierPrice(r *GinRouter) {
 		SearchProject: []string{"price", "supplierId", "productId", "updateTime", "_id"},
 	})
 
-	CreateCRUD(r, "/supplier/process", &CRUDOption{
+	CreateCRUD(r, "/supplier/product", &CRUDOption{
 		Collection: repo.CollectionSupplierProductprice,
 		NewModel: func(c *gin.Context, apictx *ApiSession) (interface{}, error) {
 			entity := &model.SupplierPrice{}