|
@@ -42,12 +42,11 @@ axiosInstance.interceptors.request.use(function (config) {
|
|
|
if(env === 'production') {
|
|
|
let apiTypeReg = /(\/app\-api\/)|(\/api\/)/ig;
|
|
|
let urlMap = {
|
|
|
- '/api/':'https://actapi.snjon.com',
|
|
|
+ '/api/':'https://actapi.snjon.com',
|
|
|
// 'https://actapi.longyihair.com',
|
|
|
- '/app-api/': 'https://ios.alipearlhair.com',
|
|
|
- // 'https://app.westkiss.com'
|
|
|
+ '/app-api/': 'https://alipearlapp.snjon.com'//,
|
|
|
+ // 'https://ios.alipearlhair.com', //正式站
|
|
|
// '/api/': 'https://actapi.snjon.com',
|
|
|
- // '/app-api/': 'https://westkissapp.snjon.com'
|
|
|
};
|
|
|
let urlType = config.url.match(apiTypeReg)[0];
|
|
|
if(urlType) {
|