Commit b2a220f1 authored by 黄奎's avatar 黄奎

页面修改

parent e99829d0
......@@ -4,7 +4,7 @@ export default {
// Vue.prototype.host2 = "http://192.168.0.110:8200"
// Vue.prototype.host2 = "https://mallApi.oytour.com"
// Vue.prototype.host2 = "http://192.168.1.5:8088"
Vue.prototype.host2 = "http://192.168.1.48:8014"
Vue.prototype.host2 = "http://192.168.1.27:8200"
// Vue.prototype.host2 = "http://testmall.oytour.com/"
Vue.prototype.request = function(param, success, failed) {
......@@ -80,7 +80,8 @@ export default {
let pid = uni.getStorageSync("pid") ? uni.getStorageSync("pid").pid : 0;
let Up = uni.getStorageSync("Up") ? uni.getStorageSync("Up").Up : 0;
let SmallShopId = uni.getStorageSync("SmallShopId") ? uni.getStorageSync("SmallShopId").SmallShopId : 0;
let CounponPassword = uni.getStorageSync("CounponPassword") ? uni.getStorageSync("CounponPassword").CounponPassword : 0;
let CounponPassword = uni.getStorageSync("CounponPassword") ? uni.getStorageSync("CounponPassword").CounponPassword :
0;
let KeyWord = uni.getStorageSync("KeyWord") ? uni.getStorageSync("KeyWord").KeyWord : '';
this.request2({
url: '/api/AppletLogin/Login',
......@@ -93,8 +94,8 @@ export default {
SuperiorId: pid,
SmallShopId: SmallShopId,
UserPageType: Up,
CounponPassword:CounponPassword,
KeyWord:KeyWord,
CounponPassword: CounponPassword,
KeyWord: KeyWord,
}
},
res => {
......@@ -112,7 +113,7 @@ export default {
// 获取小程序APPID
Vue.prototype.GetMiniAppId = function() {
let appObj = {};
let appType = 6;
let appType = 1;
switch (appType) {
case 1: //赞羊
appObj = {
......@@ -136,26 +137,33 @@ export default {
};
break;
case 4:
appObj = {//郍田
appObj = { //郍田
AppId: 'wx1bf3a7c76b10bb6d',
TenantId: 16,
MallBaseId: 6,
};
break;
case 5:
appObj = {//惠爱
appObj = { //惠爱
AppId: 'wxcab2515c608644b9',
TenantId: 17,
MallBaseId: 7,
};
break;
case 6:
appObj = {//甲鹤
appObj = { //甲鹤
AppId: 'wx38e054ee42b054f4',
TenantId: 15,
MallBaseId: 5,
};
break;
case 7:
appObj = {//韩国馆
AppId: 'HK20210221',
TenantId: 18,
MallBaseId: 8,
};
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