From c3d81e837e6350b431583c5cdcc1e0e09b4376c0 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期三, 18 十二月 2024 16:45:47 +0800 Subject: [PATCH] 111 --- assets/js/config.js | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/assets/js/config.js b/assets/js/config.js index 99f07e7..1ee9413 100644 --- a/assets/js/config.js +++ b/assets/js/config.js @@ -4,7 +4,8 @@ export const appId = 3; // export const epubUrl = "http://182.92.203.7:3007/epubReadMobile/"; export const epubUrl = "https://jsek.bnuic.com/epubReadMobile/#/"; -export const pdfUrl = "http://182.92.203.7:3007/pdfRead/"; +// export const pdfUrl = "http://182.92.203.7:3007/pdfRead/"; +const pdfUrl = "https://jsek.bnuic.com/pdfRead" // 姝e紡 export const requestTimeOut = 300000; // 璇锋眰瓒呮椂鏃堕棿 export const tokenKey = "jsek-token"; export const userInfoKey = "website-front-userInfo"; // 鐢ㄦ埛淇℃伅key @@ -23,7 +24,15 @@ export const reg_tel = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; // 鐢佃瘽鍙锋鍒� export const reg_telphone = /^0\d{2}-\d{8}$|^0\d{3}-\d{7}$/; //搴ф満鍙锋鍒� - +export const shareUrl = "https://jsek.bnuic.com/QRCodePorject/#/otherJumpPage"; //寰俊鍒嗕韩杩涘叆灏忕▼搴� +// 鑷畾涔塺efCode +const refCodes = { + message: 'MessageCode', // 娑堟伅銆侀�氱煡 + talk: 'TalkCode', // 璇濋 + teachingPlan: 'jsek_teachingPlan', // 鏁欏璁″垝绫诲瀷 + homework: 'homework', // 鏂板缓浣滀笟绫诲瀷 + teachInteraction: 'TeachInteraction' //鏁欏浜掑姩 +} const config = { requestCtx, requestTimeOut, @@ -41,6 +50,8 @@ epubUrl, pdfUrl, appId, - textReaderUrl + textReaderUrl, + shareUrl, + refCodes }; export default config; \ No newline at end of file -- Gitblit v1.9.1