闫增涛
2024-05-29 9b4d5ace932a228d8176df645aebf944ca0582af
src/assets/js/config.js
@@ -3,12 +3,10 @@
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;