Commit f15b022d authored by 罗超's avatar 罗超

2

parent e0ec6863
......@@ -930,6 +930,9 @@ export default {
let EduSchoolId = uni.getStorageSync("EduSchoolId")
? uni.getStorageSync("EduSchoolId").EduSchoolId
: 0;
let EduId = uni.getStorageSync("jxhData")
? uni.getStorageSync("jxhData").Id
: 0;
that.request2(
{
url: "/api/AppletLogin/Login",
......@@ -945,6 +948,7 @@ export default {
CounponPassword: CounponPassword,
KeyWord: KeyWord,
EduSchoolId: EduSchoolId,
EduId:EduId,
},
},
(res) => {
......
......@@ -953,6 +953,7 @@
let CounponPassword = uni.getStorageSync("CounponPassword") ? uni.getStorageSync("CounponPassword").CounponPassword : 0;
let KeyWord = uni.getStorageSync("KeyWord") ? uni.getStorageSync("KeyWord").KeyWord : '';
let EduSchoolId = uni.getStorageSync("EduSchoolId") ? uni.getStorageSync("EduSchoolId").EduSchoolId : 0;
let EduId = uni.getStorageSync("jxhData")? uni.getStorageSync("jxhData").Id: 0;
that.request2({
url: '/api/AppletLogin/Login',
data: {
......@@ -967,6 +968,7 @@
CounponPassword:CounponPassword,
KeyWord:KeyWord,
EduSchoolId:EduSchoolId,
EduId:EduId,
}
},
res => {
......
......@@ -3,8 +3,8 @@ export default {
Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
// Vue.prototype.host2 = "http://192.168.20.24:8200"
// Vue.prototype.host2 = "http://192.168.20.8:8088"
Vue.prototype.host2 = "https://mallApi.oytour.com"
Vue.prototype.host2 = "http://192.168.10.02:8088"
// Vue.prototype.host2 = "https://mallApi.oytour.com"
Vue.prototype.UploadConfig = function() { //本地上传配置
return {
......@@ -60,7 +60,8 @@ export default {
this.getLogin_t(u)
}
} else if (res.data.resultCode != 1) {
if (res.data.message != '') {
if (res.data.message) {
uni.showToast({
title: res.data.message,
icon: "none",
......@@ -132,6 +133,7 @@ export default {
let CounponPassword = uni.getStorageSync("CounponPassword") ? uni.getStorageSync("CounponPassword").CounponPassword :
0;
let KeyWord = uni.getStorageSync("KeyWord") ? uni.getStorageSync("KeyWord").KeyWord : '';
let EduId = uni.getStorageSync("jxhData") ? uni.getStorageSync("jxhData").Id : 0;
this.request2({
url: '/api/AppletLogin/Login',
data: {
......@@ -145,6 +147,7 @@ export default {
UserPageType: Up,
CounponPassword: CounponPassword,
KeyWord: KeyWord,
EduId:EduId,
}
},
res => {
......@@ -162,7 +165,7 @@ export default {
// 获取小程序APPID
Vue.prototype.GetMiniAppId = function() {
let appObj = {};
let appType = 1;
let appType = 6;
switch (appType) {
case 1: //赞羊
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