闫增涛
2024-05-31 72f8190d33b5e6f1b64b848048f315cf530bc6ef
src/assets/js/config.js
@@ -3,15 +3,16 @@
export let activeBook = {}; // 资源请求地址
export let goodsStore = "";
// 请求教材配置信息
const getBookConfig = async (bookId) => {
const getBookConfig = async (ctx) => {
  const response = await axios.get(
    resourceCtx + (bookId ? bookId : "1") + "/bookConfig.json"
    ctx + "/bookConfig.json"
  );
  return response.data;
};
export const appId = 3;
export const requestTimeOut = 300000; // 请求超时时间
export const tokenKey = "jsek-token";
// export const tokenKey = "jsek-token";
export const tokenKey = "token"
const config = {
  resourceCtx,