소스 검색

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