闫增涛
2024-06-03 713e5f5c012eb510b768d4f75d6aa1e2631e649b
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,