|
|
@ -2,8 +2,8 @@ import Vue from 'vue'; |
|
|
|
import store from '@/store'; |
|
|
|
|
|
|
|
// 定义 API URL
|
|
|
|
const DEV_API_URL = 'https://cgc.js-dyyj.com'; |
|
|
|
const PROD_API_URL = 'https://cgc.js-dyyj.com'; |
|
|
|
const DEV_API_URL = 'https://epic.js-dyyj.com'; |
|
|
|
const PROD_API_URL = 'https://epic.js-dyyj.com'; |
|
|
|
const NEWAPIURL = process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL; |
|
|
|
|
|
|
|
// 获取token
|
|
|
|