修改部分样式,分离seller端config文件,配置部分冗余数据,删除部分没用的图片

This commit is contained in:
lemon橪
2021-09-03 14:58:03 +08:00
parent a6052bcd9d
commit 43349a51d1
38 changed files with 256 additions and 398 deletions

View File

@@ -1,5 +1,4 @@
import axios from "axios";
import config from "@/config";
import { getStore, setStore } from "./storage";
import { router } from "../router/index";
import { Message } from "view-design";
@@ -9,12 +8,12 @@ import { handleRefreshToken } from "@/api/index";
// 统一请求路径前缀
export const baseUrl =
(process.env.NODE_ENV === "development"
? config.api_dev.seller
: config.api_prod.seller) + config.baseUrlPrefix;
? BASE.API_DEV.seller
: BASE.API_PROD.seller) + BASE.PREFIX;
export const commonUrl =
process.env.NODE_ENV === "development"
? config.api_dev.common
: config.api_prod.common;
? BASE.API_DEV.common
: BASE.API_PROD.common;
// 文件上传接口
export const uploadFile = commonUrl + "/common/upload/file";
var isRefreshToken = 0;