From f69adc78298acdfa601b58934bffe7f2a45d38cd Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 08 一月 2024 16:57:54 +0800
Subject: [PATCH] 销售总单模块服务开始时间和服务截止时间增加限制都只可以选择今天以及以后并且 截止时间需要大于开始时间

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

diff --git a/src/api/common/other.js b/src/api/common/other.js
index 282149f..475a982 100644
--- a/src/api/common/other.js
+++ b/src/api/common/other.js
@@ -50,7 +50,35 @@
 }
 // 鑾峰彇浜у搧鍒楄〃
 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 request({
+    url: "/api/faq/list",
+    method: "get",
+    params: data
+  })
+
+  // return await axios.get(`/api/faq/list`, {
+  //   params: data
+  // })
+}
+
+// 鍒嗛厤
+export function getAssign(data) {
+  return request({
+    url: "/api/assign/assign",
+    method: "post",
+    data
+  })
 }

--
Gitblit v1.8.0