From 20c1e8ec91bc6fcf7cb478c208c4cf9202eba4eb Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 29 三月 2024 15:55:24 +0800
Subject: [PATCH] crm销售明细单产品信息发货信息制造信采购信息委外信息5个模块请求接口的问题优化和产品信息逻辑修改
---
src/api/common/other.js | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/api/common/other.js b/src/api/common/other.js
index a909ab6..475a982 100644
--- a/src/api/common/other.js
+++ b/src/api/common/other.js
@@ -50,16 +50,28 @@
}
// 鑾峰彇浜у搧鍒楄〃
export const getProductList = async (data) => {
- return await axios.get(`/api/product/list`, {
+ return await request({
+ url: "/api/product/list",
+ method: "get",
params: data
})
+
+ // return await axios.get(`/api/product/list`, {
+ // params: data
+ // })
}
// 鑾峰彇甯歌闂鍒楄〃
export const getFaqList = async (data) => {
- return await axios.get(`/api/faq/list`, {
+ return await request({
+ url: "/api/faq/list",
+ method: "get",
params: data
})
+
+ // return await axios.get(`/api/faq/list`, {
+ // params: data
+ // })
}
// 鍒嗛厤
--
Gitblit v1.8.0