Commit 2ddaa759 authored by youjie's avatar youjie

no message

parent 2fe8df0b
...@@ -2,8 +2,8 @@ let locationName = window.location.hostname; ...@@ -2,8 +2,8 @@ let locationName = window.location.hostname;
function getApiUrl() { function getApiUrl() {
//ERP接口地址 //ERP接口地址
// let erpApiUrl = "http://192.168.5.204:8030/api/common/post"; let erpApiUrl = "http://192.168.5.204:8030/api/common/post";
let erpApiUrl = "https://reborn.oytour.com/api/common/post"; // let erpApiUrl = "https://reborn.oytour.com/api/common/post";
let erpApiUrlTakVer = "http://192.168.5.204:8065/api/common/post";//外卖版本 let erpApiUrlTakVer = "http://192.168.5.204:8065/api/common/post";//外卖版本
//ERP-Jave接口地址 //ERP-Jave接口地址
...@@ -21,7 +21,7 @@ function getApiUrl() { ...@@ -21,7 +21,7 @@ function getApiUrl() {
erpViittoFileUrl = "http://imgfile.oytour.com" erpViittoFileUrl = "http://imgfile.oytour.com"
} }
let TakeoutVersion = 0 let TakeoutVersion = 0
if(query()&&query().TakeoutVersion==1) TakeoutVersion = 1 if((query().c&&query().t&&query().g)||(query().TakeoutVersion==1)) TakeoutVersion = 1
console.log(TakeoutVersion,'----TakeoutVersion') console.log(TakeoutVersion,'----TakeoutVersion')
let url = { let url = {
urlPost: TakeoutVersion==0?erpApiUrl:erpApiUrlTakVer, urlPost: TakeoutVersion==0?erpApiUrl:erpApiUrlTakVer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment