Sfoglia il codice sorgente

fix: 价格类型更改接口

zh 2 anni fa
parent
commit
fbadf9942d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/api/priceType.js

+ 2 - 2
src/api/priceType.js

@@ -45,7 +45,7 @@ export function getProductPriceDetail(params) {
 }
 export function delProductPrice(params) {
   return request({
-    url: `/product-price/del`,
+    url: `/price-type/del`,
     method: 'post',
     data: params
   })
@@ -102,6 +102,6 @@ export function delPriceSalesRela(params) {
   return request({
     url: `/price-sales-rela/del`,
     method: 'post',
-    params
+    data: params
   })
 }