unknown
2024-06-03 8f6329a8ea3f85b6bc9f751449109cba06b73591
src/assets/js/config.js
@@ -3,17 +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"
  );
  activeBook = response.data;
  goodsStore = response.data.storeRefcode;
  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,