Преглед на файлове

fix: 价格类型更改接口

zh преди 2 години
родител
ревизия
fbadf9942d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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
   })
 }