Commit b2a220f1 authored by 黄奎's avatar 黄奎

页面修改

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