zhongshujie
2025-05-20 1522cbb7d80fb3b6ab536ea55c935252beff626b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import axios from "axios";
export let activeBook = {}; // 资源请求地址
export let goodsStore = "";
// 请求教材配置信息
const getBookConfig = async (ctx) => {
  const response = await axios.get(ctx + "/bookConfig.json");
  return response.data;
};
export const requestTimeOut = 300000; // 请求超时时间
export const tokenKey = "token";
//  export const tokenKey = "website-front-token"
 
const config = {
  activeBook,
  requestTimeOut,
  tokenKey,
  goodsStore,
  getBookConfig,
};
export default config;