瀏覽代碼

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
   })
 }