yangfeng
2024-03-25 13401515904922581dd06fa6e9bb5e59b36daa9b
src/common/untils/request.js
@@ -26,8 +26,8 @@
const getApsPage = () => {
  // 首页部署在各个环境的端口
  const loginPathMap = {
    prod: `//${window.location.hostname}:9080`,
    test: `//192.168.20.119:9080`,
    prod: `//${window.location.hostname}:9088`,
    test: `//192.168.20.119:9088`,
    dev: `//localhost:8081`
  }
  return loginPathMap[environmentType()]
@@ -59,7 +59,6 @@
/* //返回状态判断(添加响应拦截器) */
Axios.interceptors.response.use(
  (res) => {
    console.log("99999", res)
    /* //对响应数据做些事 */
    if (res.data.code === 200) {
      return res.data ? res.data : {}