About page&home/estate change
This commit is contained in:
@@ -3,6 +3,7 @@ import { formatMessage } from 'umi-plugin-locale';
|
||||
import _ from 'lodash';
|
||||
import { globalState } from '@/services/common';
|
||||
import { isDev, dispatch } from './utils';
|
||||
import config from '@/config';
|
||||
|
||||
export interface AppResp<T = any> {
|
||||
ok: boolean,
|
||||
@@ -19,8 +20,7 @@ const errorMap = {
|
||||
403: 'common.403',
|
||||
};
|
||||
|
||||
const baseURL = 'https://server.fiv.tacever.org/v1';
|
||||
// const baseURL = 'http://yapi.faronear.org/mock/20/v1';
|
||||
const { baseURL } = config;
|
||||
const instance = axios.create({
|
||||
baseURL,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user