Commit 9403c9de authored by 黄奎's avatar 黄奎

页面调整

parent 2207e1f7
...@@ -3,11 +3,11 @@ export default { ...@@ -3,11 +3,11 @@ export default {
Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285" Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
//Vue.prototype.host2 = "http://192.168.10.128:8200" //Vue.prototype.host2 = "http://192.168.10.128:8200"
//Vue.prototype.host3 = "http://192.168.10.128:8900"//本地 //Vue.prototype.host3 = "http://192.168.10.128:8900"//本地
Vue.prototype.host2 = "https://mallApi.oytour.com"//测试 Vue.prototype.host2 = "https://mallApi.oytour.com" //测试
Vue.prototype.host2 = "http://192.168.10.68:5000" Vue.prototype.host2 = "http://192.168.10.68:5000"
//进阶思维后台地址 //进阶思维后台地址
//Vue.prototype.host3 = "http://192.168.10.128:8900"//本地 //Vue.prototype.host3 = "http://192.168.10.128:8900"//本地
Vue.prototype.host3 = "https://jjeduapi.oytour.com"//测试 Vue.prototype.host3 = "https://jjeduapi.oytour.com" //测试
Vue.prototype.UploadConfig = function() { //本地上传配置 Vue.prototype.UploadConfig = function() { //本地上传配置
return { return {
UploadUrl: this.host2.indexOf('mallApi') != -1 ? "https://upload.oytour.com/Upload/AppUpload" : "http://192.168.20.214:8120/Upload/AppUpload", UploadUrl: this.host2.indexOf('mallApi') != -1 ? "https://upload.oytour.com/Upload/AppUpload" : "http://192.168.20.214:8120/Upload/AppUpload",
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
msg: postMsg msg: postMsg
}, },
success: res => { success: res => {
typeof success == "function" && success(res); typeof success == "function" && success(res);
if (res.data.Code == 10000) { if (res.data.Code == 10000) {
let u = uni.getStorageSync("mall_UserInfo"); let u = uni.getStorageSync("mall_UserInfo");
if (u) { if (u) {
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
// 获取小程序APPID // 获取小程序APPID
Vue.prototype.GetMiniAppId = function() { Vue.prototype.GetMiniAppId = function() {
let appObj = {}; let appObj = {};
let appType = 4; let appType = 14;
switch (appType) { switch (appType) {
case 1: //赞羊 case 1: //赞羊
appObj = { appObj = {
...@@ -304,13 +304,13 @@ export default { ...@@ -304,13 +304,13 @@ export default {
MallBaseId: 17, MallBaseId: 17,
}; };
break; break;
case 14: case 14:
appObj = { //和平航旅 appObj = { //和平航旅
AppId: 'wx5564525562e92ddb', AppId: 'wx5564525562e92ddb',
TenantId: 29, TenantId: 29,
MallBaseId: 19, MallBaseId: 19,
}; };
break; break;
} }
return appObj; return appObj;
} }
......
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