From ea4f9ee1d7a6333bd516deb09c1d12f18a168787 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 18 八月 2023 19:04:53 +0800
Subject: [PATCH] bug 修复

---
 src/api/common/other.js |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/api/common/other.js b/src/api/common/other.js
index 237b1b0..9c1eda8 100644
--- a/src/api/common/other.js
+++ b/src/api/common/other.js
@@ -1,4 +1,5 @@
 import request from "@/common/untils/request.js"
+import axios from "axios"
 
 // 鑾峰彇鏁呴殰绫诲埆
 export function getFaultTypeList() {
@@ -47,3 +48,16 @@
     method: "get"
   })
 }
+// 鑾峰彇浜у搧鍒楄〃
+export const getProductList = async (data) => {
+  return await axios.get(`/api/product/list`, {
+    params: data
+  })
+}
+
+// 鑾峰彇甯歌闂鍒楄〃
+export const getFaqList = async (data) => {
+  return await axios.get(`/api/faq/list`, {
+    params: data
+  })
+}

--
Gitblit v1.8.0