zhongshujie
2025-06-05 9a3baab049df4a32a7b724c5f24cecdbc3e469b6
src/assets/js/config.js
@@ -3,20 +3,21 @@
export let goodsStore = "";
// 请求教材配置信息
const getBookConfig = async (ctx) => {
  const response = await axios.get(
    ctx + "/bookConfig.json"
  );
  const response = await axios.get(ctx + "/bookConfig.json");
  return response.data;
};
export const appId = 0;
export const requestTimeOut = 300000; // 请求超时时间
export const tokenKey = "token";
// export const tokenKey = "website-front-token"
//  export const tokenKey = "website-front-token"
const config = {
  activeBook,
  requestTimeOut,
  tokenKey,
  goodsStore,
  getBookConfig
  appId,
  getBookConfig,
};
export default config;