|
@ -2,11 +2,11 @@ import Vue from 'vue'; |
|
|
import store from '@/store'; |
|
|
import store from '@/store'; |
|
|
import md5 from 'js-md5'; |
|
|
import md5 from 'js-md5'; |
|
|
// 定义 API URL
|
|
|
// 定义 API URL
|
|
|
const DEV_API_URL = 'http://1.13.193.49'; |
|
|
const DEV_API_URL = 'https://epic.dayunyuanjian.cn'; |
|
|
// const DEV_API_URL = 'https://epic.js-dyyj.com';
|
|
|
// const DEV_API_URL = 'https://epic.js-dyyj.com';
|
|
|
|
|
|
|
|
|
// const PROD_API_URL = 'https://epic.js-dyyj.com';
|
|
|
// const PROD_API_URL = 'https://epic.js-dyyj.com';
|
|
|
const PROD_API_URL = 'http://1.13.193.49'; |
|
|
const PROD_API_URL = 'https://epic.dayunyuanjian.cn'; |
|
|
const NEWAPIURL = process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL; |
|
|
const NEWAPIURL = process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL; |
|
|
// const DEV_API_URL_DES = 'https://des.dayunyuanjian.cn/xcx';
|
|
|
// const DEV_API_URL_DES = 'https://des.dayunyuanjian.cn/xcx';
|
|
|
const DEV_API_URL_DES = 'https://des.dayunyuanjian.cn/xcx'; |
|
|
const DEV_API_URL_DES = 'https://des.dayunyuanjian.cn/xcx'; |
|
|