闫增涛
2024-12-16 c83278c4afd1251b0646b506fd59a59a7f502165
assets/js/config.js
@@ -25,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"; //微信分享进入小程序
// 自定义refCode
const refCodes = {
  message: 'MessageCode', // 消息、通知
  talk: 'TalkCode', // 话题
  teachingPlan: 'jsek_teachingPlan', // 教学计划类型
  homework: 'homework', // 新建作业类型
  teachInteraction: 'TeachInteraction' //教学互动
}
const config = {
  requestCtx,
  requestTimeOut,
@@ -43,6 +51,7 @@
  pdfUrl,
  appId,
  textReaderUrl,
  shareUrl
  shareUrl,
  refCodes
};
export default config;