From b459b874c062b1124200f8a591b86d0558c3ffce Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 15 九月 2023 22:47:16 +0800
Subject: [PATCH] 新增源数据惨淡

---
 platform/src/api/business/goods.js |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/platform/src/api/business/goods.js b/platform/src/api/business/goods.js
index 4bb3c85..50f61c8 100644
--- a/platform/src/api/business/goods.js
+++ b/platform/src/api/business/goods.js
@@ -2,14 +2,14 @@
 
 // 鏌ヨ
 export function fetchList (data) {
-  return request.post('/business/goods/page', data, {
+  return request.post('/business/baseGoods/page', data, {
     trim: true
   })
 }
 
 // 瀵煎嚭Excel
 export function exportExcel (data) {
-  return request.post('/business/goods/exportExcel', data, {
+  return request.post('/business/baseGoods/exportExcel', data, {
     trim: true,
     download: true
   })
@@ -17,7 +17,7 @@
 
 // 瀵煎嚭妯℃澘
 export function exportDoc (params) {
-  return request.get('/business/goods/export', params, {
+  return request.get('/business/baseGoods/export', params, {
     trim: true,
     download: true
   })
@@ -25,22 +25,22 @@
 
 // 鍒涘缓
 export function create (data) {
-  return request.post('/business/goods/create', data)
+  return request.post('/business/baseGoods/create', data)
 }
 
 // 淇敼
 export function updateById (data) {
-  return request.post('/business/goods/updateById', data)
+  return request.post('/business/baseGoods/updateById', data)
 }
 
 // 鍒犻櫎
 export function deleteById (id) {
-  return request.get(`/business/goods/delete/${id}`)
+  return request.get(`/business/baseGoods/delete/${id}`)
 }
 
 // 鎵归噺鍒犻櫎
 export function deleteByIdInBatch (ids) {
-  return request.get('/business/goods/delete/batch', {
+  return request.get('/business/baseGoods/delete/batch', {
     params: {
       ids
     }
@@ -49,15 +49,15 @@
 
 // 淇敼鐘舵��
 export function updateDisableById (data) {
-  return request.post('/business/goods/updateDisableById', data)
+  return request.post('/business/baseGoods/updateDisableById', data)
 }
 
 // 鍒楄〃 - 鍟嗗搧閫夋嫨
-export function findListForGoodsId (goodsId) {
+export function findListForbaseGoodsId (goodsId) {
   return request.get(`/business/category/findListForGoodsId?goodsId=${goodsId}`)
 }
 
 // 鏍规嵁ID鏌ヨ
 export function queryById (id) {
-  return request.get(`business/goods/${id}`)
+  return request.get(`business/baseGoods/${id}`)
 }
\ No newline at end of file

--
Gitblit v1.9.3