瀏覽代碼

no message

zpj 1 年之前
父節點
當前提交
b68379c1ad
共有 3 個文件被更改,包括 445 次插入 和 423 次删除
  1. 3 6
      common/js/ajax.js
  2. 6 6
      manifest.json
  3. 436 411
      pages/index/order.vue

+ 3 - 6
common/js/ajax.js

@@ -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
   

+ 6 - 6
manifest.json

@@ -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
+                }
             }
         }
     }

File diff suppressed because it is too large
+ 436 - 411
pages/index/order.vue


Some files were not shown because too many files changed in this diff