@@ -23,12 +23,9 @@ export const request = (url, method, data,isFinance = false,show = false) => {
//#ifndef H5
if(isFinance){
- let nodeEnv = process.env.NODE_ENV;
- if(nodeEnv === 'development'){
- BASE_URL = 'http://testadopted.jhcs888.com/'
- }else{
- BASE_URL = 'https://adopted.jhcs888.com/'
- }
+ BASE_URL = 'https://adopted.jhcs888.com/'
+ }else{
+ BASE_URL ='https://demoapi.jhcs888.com/'
}
//#endif
@@ -84,12 +84,12 @@
"^/cashierApi" : "cashierApi"
},
- "/api" : {
- // "target" : "https://adopted.jhcs888.com/",
- "target" : "http://testadopted.jhcs888.com/",
- "changeOrigin" : true,
- "secure" : false
+ "/api" : {
+ // "target" : "https://adopted.jhcs888.com/",
+ "target" : "http://testadopted.jhcs888.com/",
+ "changeOrigin" : true,
+ "secure" : false
+ }