|
@@ -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{}
|