zhongshujie
3 天以前 ce70bc450a2401997bb850f89f3c4dc0a23e0a72
src/assets/js/config.js
@@ -7,9 +7,16 @@
  return response.data;
};
// 请求教材资源信息
const getBookResources = async (ctx) => {
  const response = await axios.get(ctx + "/resource.json");
  return response.data;
};
export const appId = 0;
export const requestTimeOut = 300000; // 请求超时时间
export const tokenKey = "token";
// export const tokenKey = "token";
export const tokenKey = "xiehe-token";
//  export const tokenKey = "website-front-token"
const config = {
@@ -19,5 +26,6 @@
  goodsStore,
  appId,
  getBookConfig,
  getBookResources
};
export default config;