| | |
| | | // export const requestCtx = "http://182.92.203.7:3001"; // 请求地址 |
| | | // export const appId = 12; |
| | | export const requestCtx = "https://www.tepcb.com"; // 请求地址 |
| | | export const appId = 2; |
| | | export const requestCtx = "http://182.92.203.7:3001"; // 请求地址 |
| | | export const appId = 40; |
| | | // export const requestCtx = "https://www.tepcb.com"; // 请求地址 |
| | | // export const appId = 2; |
| | | export const requestTimeOut = 300000; // 请求超时时间 |
| | | export const tokenKey = "website-front-token"; |
| | | export const userInfoKey = "website-front-userInfo"; // 用户信息key |
| | | export const tokenKey = "token"; |
| | | export const userInfoKey = "userInfo"; // 用户信息key |
| | | export const appRefCode = "tourismWebsite"; |
| | | export const goodsStore = `defaultGoodsStore${appId}`; // 默认商品库(书城) |
| | | export const learnPlatformGoodsStore = `tourism_examinationsForTouristGuide`; // 学习平台库 |
| | | export const teachingResourceGoodsStore = `tourism_teachingResource`; // 教学服务库 |
| | | export const teachingMaterialsSeriesGoodsStore = `tourism_teachingMaterialsSeries`; // 教材套系库 |
| | | export const nationalPlanningTextbookGoodsStore = `tourism_nationalPlanningTextbook`; // 国家规划教材库 |
| | | export const onlineCourseLibGoodsStore = `tourism_onlineCourseLib`; // 网络课程库 |
| | | export const galleryIndexGoodsStore = `tourism_galleryIndex`; // 文旅图库库 |
| | | export const tourismLawsAndRegulationsDatabaseGoodsStore = `tourism_tourismLawsAndRegulationsDatabase`; // 旅游法律法规数据库 |
| | | export const digitalResourceLibraryGoodsStore = `tourism_digitalResourceLibrary`; // 数字资源库 |
| | | export const learningPlatformGoodsStore = `tourism_learningPlatform`; // 学习平台库 |
| | | export const publicStore = `defaultPublicStore${appId}`; // 默认资源开放仓储 |
| | | export const publicRepository = `defaultPublicRepository${appId}`; // 默认资源开放库 |
| | | 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 pdfUrl = "http://182.92.203.7:3007/pdfRead/"; |
| | | // export const pdfUrl = "http://192.168.1.23:8081/pdfRead/"; |
| | | export const pdfUrl = "https://www.tepcb.com/pdfRead/"; |
| | | // export const pdfUrl = "http://192.168.3.197:8081/pdfRead/"; |
| | | // export const epubUrl = "http://182.92.203.7:3007/epubReader/#/"; |
| | | export const epubUrl = "https://www.tepcb.com/epubReader/#/"; |
| | | |
| | | // 频道refCode |
| | | export const refCodes = { |
| | | bookStore: { |
| | | bookCategory: "tourism_bookCategory", // 图书分类 |
| | | bookCityBanner: { |
| | | top: "tourism_banner\\tourism_bookCityBannerTop", |
| | | left: "tourism_banner\\tourism_bookCityBannerLeft", |
| | | right: "tourism_banner\\tourism_bookCityBannerRight", |
| | | }, |
| | | bookRecommendation: "tourism_bookRecommendation", // 图书推荐 |
| | | bestsellersBooks: "tourism_bestsellersBooks", // 畅销榜 |
| | | newBookRecommendation: "tourism_newBookRecommendation", // 新书上架 |
| | | newBookHotSale: "tourism_newBookHotSale", // 新书热卖榜 |
| | | }, |
| | | teachingResource: { |
| | | teachingMaterialsClassification: "tourism_teachingMaterialsClassification", //教学分类 |
| | | excellentLecture: "tourism_excellentLecture", //精品教材 |
| | | teachingResourceManagement: "tourism_teachingResourceManagement", //旅游管理 |
| | | courseRefcode: "tourism_onlineCourseBannerLib", // 课程库 |
| | | }, |
| | | applyCourse: { |
| | | ClassValidityPeriod: "tourism_eachClassValidityPeriod", |
| | | ClassesNumber: "tourism_classesNumber", |
| | | ClassStudentsNumber: "tourism_eachClassStudentsNumber", |
| | | CourseValidityPeriod: "tourism_offerCourseValidityPeriod", |
| | | }, |
| | | // 投稿方式 |
| | | submissionMethod: "submissionMethod", |
| | | //自定义收藏linkType |
| | | LinkType: { |
| | | FavoriteDownload: "FavoriteDownload", |
| | | FavoriteBookCity: "FavoriteBookCity", // 书城 |
| | | FavoriteTeachingService: "FavoriteTeachingService", //教学服务 |
| | | bookHistory: "bookHistory", |
| | | digitalResourceLibrary: "FavoriteDigitalResourceLibrary", // 数字资源库 |
| | | FavoriteLearnPlatform: "FavoriteLearnPlatform", // 学习平台 |
| | | learnPlatformRefcode: { |
| | | tourism_eBookFolder: "FavoriteEbook", // 电子书 |
| | | tourism_questionBankFolder: "FavoriteQuestionBank", //题库 |
| | | tourism_mockExam: "FavoriteMockList", //模考 |
| | | favoriteGuideword: "FavoriteGuideword", //导游词 |
| | | tourism_audioClassFolder: "FavoriteAudioList", //音频课 |
| | | tourism_videoLessonFolder: "FavoriteMicroLesson", //视频课 |
| | | tourism_microClass: "FavoriteTinyClass", //微课 |
| | | }, |
| | | }, |
| | | learnPlatform: { |
| | | videoLessonFolder: "tourism_videoLessonFolder", //视频课 |
| | | audioClassFolder: "tourism_audioClassFolder", //音频课 |
| | | questionBankFolder: "tourism_questionBankFolder", //题库 |
| | | mockExam: "tourism_mockExam", //模考 |
| | | ChineseTourGuide: "tourism_ChineseTourGuide", //中文导游词 |
| | | ForeignGuideWords: "tourism_ForeignGuideWords", //英语导游词 |
| | | tourism: "tourism_microClass", //微课 |
| | | eBookFolder: "tourism_eBookFolder", |
| | | intermediateTourGuide: "tourism_intermediateTourGuide", //中级考试 |
| | | }, |
| | | learnPlatformShoppingValue: { |
| | | videoLesson: "tourism_videoLesson", //视频课 |
| | | audioClass: "tourism_audioCourse", //音频课 |
| | | questionBank: "tourism_questionBank", //题库 |
| | | mockExam: "tourism_mockExam", //模考 |
| | | ChineseTourGuide: "tourism_ChineseTourGuide", //中文导游词 |
| | | ForeignGuideWords: "tourism_ForeignGuideWords", //英语导游词 |
| | | tourism: "tourism_microClass", //微课 |
| | | eBook: "tourism_eBook", |
| | | }, |
| | | }; |
| | | |
| | | // 题型数据 |
| | | export const questionType = { |
| | | singleChoice: "单选题", |
| | | multipleChoice: "多选题", |
| | | judge: "判断题", |
| | | shortAnswer: "简答题", |
| | | completion: "填空题", |
| | | matching: "连线题", |
| | | classification: "分类题", |
| | | }; |
| | | |
| | | const sampleApplicationData = { |
| | | eBook: null, |
| | | }; |
| | | |
| | | const config = { |
| | | requestCtx, |
| | |
| | | goodsStore, |
| | | publicStore, |
| | | publicRepository, |
| | | refCodes, |
| | | reg_tel, |
| | | sampleApplicationData, |
| | | pdfUrl, |
| | | epubUrl, |
| | | learnPlatformGoodsStore, |
| | | teachingResourceGoodsStore, |
| | | teachingMaterialsSeriesGoodsStore, |
| | | nationalPlanningTextbookGoodsStore, |
| | | onlineCourseLibGoodsStore, |
| | | galleryIndexGoodsStore, |
| | | tourismLawsAndRegulationsDatabaseGoodsStore, |
| | | digitalResourceLibraryGoodsStore, |
| | | learningPlatformGoodsStore, |
| | | |
| | | }; |
| | | export default config; |