From c99f9976a5ef9d8974105feb8fc0580a10adf98c Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期一, 23 十二月 2024 14:58:49 +0800 Subject: [PATCH] 111 --- assets/js/config.js | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/assets/js/config.js b/assets/js/config.js index 00895c5..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 @@ -24,6 +25,14 @@ /^(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, @@ -42,6 +51,7 @@ pdfUrl, appId, textReaderUrl, - shareUrl + shareUrl, + refCodes }; export default config; \ No newline at end of file -- Gitblit v1.9.1