|
|
@ -2,14 +2,14 @@
|
|
|
|
* @Author: ch
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-03-17 17:42:32
|
|
|
|
* @Date: 2022-03-17 17:42:32
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-04-29 20:33:34
|
|
|
|
* @LastEditTime: 2022-04-29 22:08:55
|
|
|
|
* @Description: 项目接口请求统一处理器,返回一个需要token和不需要token的请求封装方法
|
|
|
|
* @Description: 项目接口请求统一处理器,返回一个需要token和不需要token的请求封装方法
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
import MsbUniRequest from '@/common/plugins/msbUniRequest';
|
|
|
|
import MsbUniRequest from '@/common/plugins/msbUniRequest';
|
|
|
|
import $store from '@/common/store';
|
|
|
|
import $store from '@/common/store';
|
|
|
|
|
|
|
|
|
|
|
|
const ENV = 'test';
|
|
|
|
const ENV = 'prod';
|
|
|
|
const BASE_URL = {
|
|
|
|
const BASE_URL = {
|
|
|
|
'test' : 'https://k8s-horse-gateway.mashibing.cn',
|
|
|
|
'test' : 'https://k8s-horse-gateway.mashibing.cn',
|
|
|
|
'dev' : '',
|
|
|
|
'dev' : '',
|
|
|
|