From e33672cf85da88d515d5fe6ccc0a139c3cfaa5db Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 28 八月 2025 22:53:54 +0800 Subject: [PATCH] 8.28更新 --- src/assets/js/config.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/assets/js/config.js b/src/assets/js/config.js index 4a85c7b..b7d114d 100644 --- a/src/assets/js/config.js +++ b/src/assets/js/config.js @@ -7,6 +7,14 @@ return response.data; }; +// 璇锋眰鏁欐潗璧勬簮淇℃伅 +const getBookResources = async (ctx) => { + const response = await axios.get(ctx + "/resource.json"); + return response.data; +}; + + + export const appId = 0; export const requestTimeOut = 300000; // 璇锋眰瓒呮椂鏃堕棿 export const tokenKey = "token"; @@ -19,5 +27,6 @@ goodsStore, appId, getBookConfig, + getBookResources }; export default config; -- Gitblit v1.9.1