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

页面调整

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