From 59e61742fda32d9f80eda35240ba534c006bc52a Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Mon, 11 Aug 2025 15:49:00 +0800 Subject: [PATCH 1/2] 11 --- .env | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index a0ff767..8e4e783 100644 --- a/.env +++ b/.env @@ -20,15 +20,15 @@ VITE_OAUTH2_APP_CLIENT='mini:mini' # VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # 域名线上 #VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 # VITE_APP_DEV_SERVICE = http://192.168.101.150:9999 # 邓-本地 -# VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地 -VITE_APP_DEV_SERVICE = http://123.157.250.162:8089/api # 测试线上 + VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地 +# VITE_APP_DEV_SERVICE = http://123.157.250.162:8089/api # 测试线上 # --------------------------- 开发环境 图片访问基础地址 --------------------------- # VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # 域名线上 #VITE_IMAGE_DEV_PATH = http://59.202.170.152:81/api # 信创线上 # VITE_IMAGE_DEV_PATH = http://192.168.101.150:9999 # 邓-43本地 - # VITE_IMAGE_DEV_PATH = http://127.0.0.1:9999 -VITE_IMAGE_DEV_PATH = http://123.157.250.162:8089/api # 测试线上 + VITE_IMAGE_DEV_PATH = http://127.0.0.1:9999 +# VITE_IMAGE_DEV_PATH = http://123.157.250.162:8089/api # 测试线上 # --------------------------- 生产环境 api地址 ---------------------------------- VITE_APP_PROD_SERVICE = https://stgl.pj.gov.cn/api # 域名线上 From 44f0c6d142179f39f2509efb2fcf4ca57b4ef256 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Wed, 13 Aug 2025 11:44:35 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=E7=BB=9F=E8=AE=A1=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sheep/api/index.ts | 2 ++ src/sheep/api/total.ts | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/sheep/api/total.ts diff --git a/src/sheep/api/index.ts b/src/sheep/api/index.ts index a661577..fd63da5 100644 --- a/src/sheep/api/index.ts +++ b/src/sheep/api/index.ts @@ -37,3 +37,5 @@ export { default as hardApi } from "./hard" export { default as noticeApi } from "./notice" export { default as invitationApi } from "./invitation" + +export { default as totalApi } from "./total" diff --git a/src/sheep/api/total.ts b/src/sheep/api/total.ts new file mode 100644 index 0000000..f887354 --- /dev/null +++ b/src/sheep/api/total.ts @@ -0,0 +1,22 @@ +import request from "@/sheep/utils/request" + +export default { + /** + * 菜品销量按照分类查询 + */ + productByClassify: (data: any) => + request({ + url: `/hard/hard-canteen-total-log/app/product-by-classify`, + method: "POST", + data, + }), + /** + * 近一周各个食堂菜品购买统计 + */ + productByCanteen: (data: any) => + request({ + url: `/hard/hard-canteen-total-log/app/product-by-canteen`, + method: "POST", + data, + }), +} \ No newline at end of file