|
|
@ -8,20 +8,24 @@ Page({ |
|
|
* 页面的初始数据 |
|
|
* 页面的初始数据 |
|
|
*/ |
|
|
*/ |
|
|
data: { |
|
|
data: { |
|
|
product:app.globalData.product, |
|
|
product: app.globalData.product, |
|
|
productNum:1, |
|
|
productNum: 1, |
|
|
linkmanList:[], |
|
|
linkmanList: [], |
|
|
date:"", |
|
|
date: "", |
|
|
time:"", |
|
|
time: "", |
|
|
remark:"", |
|
|
remark: "", |
|
|
singlePrice:0, |
|
|
singlePrice: 0, |
|
|
type:null, |
|
|
type: null, |
|
|
coupon:app.globalData.couponInfo, |
|
|
coupon: app.globalData.couponInfo, |
|
|
isLogin:false, |
|
|
isLogin: false, |
|
|
kjId:null, |
|
|
kjId: null, |
|
|
gp_id:null, |
|
|
gp_id: null, |
|
|
groupName:"", |
|
|
groupName: "", |
|
|
prizeId:null |
|
|
prizeId: null, |
|
|
|
|
|
select_allowance: false, |
|
|
|
|
|
showAllowance: false, |
|
|
|
|
|
allowance_data: null, |
|
|
|
|
|
allowance_price: 0, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
@ -29,229 +33,250 @@ Page({ |
|
|
*/ |
|
|
*/ |
|
|
onLoad: function (options) { |
|
|
onLoad: function (options) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
type:options.type, |
|
|
type: options.type, |
|
|
kjId:app.globalData.kjId, |
|
|
kjId: app.globalData.kjId, |
|
|
gp_id:app.globalData.gp_id || app.globalData.team_id, |
|
|
gp_id: app.globalData.gp_id || app.globalData.team_id, |
|
|
prizeId:wx.getStorageSync('prizeId') |
|
|
prizeId: wx.getStorageSync('prizeId') |
|
|
}) |
|
|
}) |
|
|
if(!app.globalData.product){ |
|
|
if (!app.globalData.product) { |
|
|
util.back(); |
|
|
util.back(); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
if(app.globalData.product.productNum){ |
|
|
if (app.globalData.product.productNum) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
productNum:app.globalData.product.productNum<1?1:app.globalData.product.productNum |
|
|
productNum: app.globalData.product.productNum < 1 ? 1 : app.globalData.product.productNum |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
product:app.globalData.product, |
|
|
product: app.globalData.product, |
|
|
singlePrice:this.data.gp_id?app.globalData.product.sku.event_price:app.globalData.product.sku.price |
|
|
singlePrice: this.data.gp_id ? app.globalData.product.sku.event_price : app.globalData.product.sku.price |
|
|
}) |
|
|
}) |
|
|
if(!this.data.kjId && !this.data.gp_id && this.data.product.isGroup!=1){ |
|
|
if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1) { |
|
|
this.couponCom = this.selectAllComponents("#coupon")[0]; |
|
|
this.couponCom = this.selectAllComponents("#coupon")[0]; |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
changeGroupName:function(e){ |
|
|
changeGroupName: function (e) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
groupName:e.detail.value |
|
|
groupName: e.detail.value |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
setLinkman:function(e){ |
|
|
setLinkman: function (e) { |
|
|
let linkmanList = e.detail; |
|
|
let linkmanList = e.detail; |
|
|
if(this.data.productNum!=linkmanList.length && this.data.coupon){ |
|
|
if (this.data.productNum != linkmanList.length && this.data.coupon) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '订单价格发生变化,请重新选择优惠券', |
|
|
title: '订单价格发生变化,请重新选择优惠券', |
|
|
icon: 'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
if(!this.data.kjId && !this.data.gp_id && this.data.product.isGroup!=1){ |
|
|
if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1) { |
|
|
this.couponCom.setNullCoupon() |
|
|
this.couponCom.setNullCoupon() |
|
|
} |
|
|
} |
|
|
app.globalData.couponInfo = null; |
|
|
app.globalData.couponInfo = null; |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
coupon:null |
|
|
coupon: null |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
let productNum = linkmanList.length==0?1:linkmanList.length; |
|
|
let productNum = linkmanList.length == 0 ? 1 : linkmanList.length; |
|
|
if(this.data.gp_id){ |
|
|
if (this.data.gp_id) { |
|
|
productNum = app.globalData.product.maxNum; |
|
|
productNum = app.globalData.product.maxNum; |
|
|
} |
|
|
} |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
productNum:productNum, |
|
|
productNum: productNum, |
|
|
linkmanList:linkmanList |
|
|
linkmanList: linkmanList |
|
|
}) |
|
|
}) |
|
|
|
|
|
this.changePrice() |
|
|
}, |
|
|
}, |
|
|
add:function(){ |
|
|
add: function () { |
|
|
if(this.data.product.sku.sku_model.traveller_limit_num!=0 && this.data.productNum==this.data.product.sku.sku_model.traveller_limit_num){ |
|
|
if (this.data.product.sku.sku_model.traveller_limit_num != 0 && this.data.productNum == this.data.product.sku.sku_model.traveller_limit_num) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '出行人限购'+this.data.product.sku.sku_model.traveller_limit_num+"份", |
|
|
title: '出行人限购' + this.data.product.sku.sku_model.traveller_limit_num + "份", |
|
|
icon:'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
productNum:this.data.productNum+1 |
|
|
productNum: this.data.productNum + 1 |
|
|
}) |
|
|
}) |
|
|
|
|
|
this.changePrice() |
|
|
}, |
|
|
}, |
|
|
minus:function(){ |
|
|
minus: function () { |
|
|
if(this.data.productNum==1) return; |
|
|
if (this.data.productNum == 1) return; |
|
|
if(this.data.coupon){ |
|
|
if (this.data.coupon) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '订单价格发生变化,请重新选择优惠券', |
|
|
title: '订单价格发生变化,请重新选择优惠券', |
|
|
icon: 'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
if(!this.data.kjId && !this.data.gp_id && this.data.product.isGroup!=1){ |
|
|
if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1) { |
|
|
this.couponCom.setNullCoupon() |
|
|
this.couponCom.setNullCoupon() |
|
|
} |
|
|
} |
|
|
app.globalData.couponInfo = null; |
|
|
app.globalData.couponInfo = null; |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
productNum:(this.data.productNum-1), |
|
|
productNum: (this.data.productNum - 1), |
|
|
coupon:null |
|
|
coupon: null |
|
|
}) |
|
|
}) |
|
|
|
|
|
this.changePrice() |
|
|
}, |
|
|
}, |
|
|
changeDate:function(e){ |
|
|
changeDate: function (e) { |
|
|
if(e.detail.price!=this.data.singlePrice && this.data.coupon) { |
|
|
if (e.detail.price != this.data.singlePrice && this.data.coupon) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '订单价格发生变化,请重新选择优惠券', |
|
|
title: '订单价格发生变化,请重新选择优惠券', |
|
|
icon: 'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
coupon:null |
|
|
coupon: null |
|
|
}) |
|
|
}) |
|
|
if(!this.data.kjId && !this.data.gp_id && this.data.product.isGroup!=1){ |
|
|
if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1) { |
|
|
this.couponCom.setNullCoupon() |
|
|
this.couponCom.setNullCoupon() |
|
|
} |
|
|
} |
|
|
app.globalData.couponInfo = null; |
|
|
app.globalData.couponInfo = null; |
|
|
} |
|
|
} |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
date:e.detail, |
|
|
date: e.detail, |
|
|
singlePrice:this.data.gp_id?this.data.product.sku.event_price:e.detail.price |
|
|
singlePrice: this.data.gp_id ? this.data.product.sku.event_price : e.detail.price |
|
|
|
|
|
}) |
|
|
|
|
|
this.changePrice() |
|
|
|
|
|
}, |
|
|
|
|
|
changeTime: function (e) { |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
time: e.detail |
|
|
}) |
|
|
}) |
|
|
console.log(e.detail) |
|
|
|
|
|
}, |
|
|
}, |
|
|
changeTime:function(e){ |
|
|
changeAllowance: function () { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
time:e.detail |
|
|
showAllowance: !this.data.showAllowance |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
changeRemark:function(e){ |
|
|
changeRemark: function (e) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
remark:e.detail.value |
|
|
remark: e.detail.value |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
order:function(){ |
|
|
/** |
|
|
let linkmanList = this.data.linkmanList,productNum = this.data.productNum,date = this.data.date,time = this.data.time,remark=this.data.remark,product= this.data.product; |
|
|
* 补贴价 |
|
|
let linkmanIds=[]; |
|
|
*/ |
|
|
if(linkmanList.length<productNum && app.globalData.product.isGroup!=1){ |
|
|
changePrice: function () { |
|
|
|
|
|
let product = this.data.product, price = product.sku.price; |
|
|
|
|
|
if (this.data.allowance_data && this.data.select_allowance && this.data.allowance_price) { |
|
|
|
|
|
let spread_price = Number(this.data.allowance_data.discount_limit_price - this.data.allowance_data.user_used_price); |
|
|
|
|
|
price -= this.data.allowance_price < spread_price ? this.data.allowance_price : spread_price |
|
|
|
|
|
} |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
singlePrice: app.globalData.kjId ? 0 : price |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
order: function () { |
|
|
|
|
|
let linkmanList = this.data.linkmanList, productNum = this.data.productNum, date = this.data.date, time = this.data.time, remark = this.data.remark, product = this.data.product; |
|
|
|
|
|
let linkmanIds = []; |
|
|
|
|
|
if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '请选择'+productNum+"个出行人", |
|
|
title: '请选择' + productNum + "个出行人", |
|
|
icon:"none" |
|
|
icon: "none" |
|
|
}) |
|
|
}) |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
if(!date){ |
|
|
if (!date) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '请选择使用日期', |
|
|
title: '请选择使用日期', |
|
|
icon:'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if(!time && date.is_time_stock==true){ |
|
|
if (!time && date.is_time_stock == true) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '请选择使用时间', |
|
|
title: '请选择使用时间', |
|
|
icon:'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if(app.globalData.product.isGroup==1 && !this.data.groupName){ |
|
|
if (app.globalData.product.isGroup == 1 && !this.data.groupName) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '请输入团队主体名称', |
|
|
title: '请输入团队主体名称', |
|
|
icon:'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
linkmanList.map(item=>{ |
|
|
linkmanList.map(item => { |
|
|
linkmanIds.push(item.id) |
|
|
linkmanIds.push(item.id) |
|
|
}) |
|
|
}) |
|
|
let data = { |
|
|
let data = { |
|
|
coupon_id:this.data.coupon?this.data.coupon.id:null, |
|
|
coupon_id: this.data.coupon ? this.data.coupon.id : null, |
|
|
source:"WECHATXCX", |
|
|
source: "WECHATXCX", |
|
|
product_list: [{ |
|
|
product_list: [{ |
|
|
type:product.product.type, |
|
|
type: product.product.type, |
|
|
product_id:product.product.id, |
|
|
product_id: product.product.id, |
|
|
sku_id:date.sku_id?date.sku_id:product.sku.id, |
|
|
sku_id: date.sku_id ? date.sku_id : product.sku.id, |
|
|
start_time:time.start_time, |
|
|
start_time: time.start_time, |
|
|
end_time:time.end_time, |
|
|
end_time: time.end_time, |
|
|
use_date:date.date, |
|
|
use_date: date.date, |
|
|
visitors:linkmanIds.join(","), |
|
|
visitors: linkmanIds.join(","), |
|
|
remark:remark, |
|
|
remark: remark, |
|
|
product_num:app.globalData.product.isGroup==1?1:productNum |
|
|
product_num: app.globalData.product.isGroup == 1 ? 1 : productNum |
|
|
}], |
|
|
}], |
|
|
originate_order_id:this.data.kjId, |
|
|
originate_order_id: this.data.kjId, |
|
|
gp_id:app.globalData.gp_id, |
|
|
gp_id: app.globalData.gp_id, |
|
|
team_id:app.globalData.team_id |
|
|
team_id: app.globalData.team_id |
|
|
} |
|
|
} |
|
|
if(app.globalData.from){ |
|
|
if (app.globalData.from) { |
|
|
data.system_name = app.globalData.from; |
|
|
data.system_name = app.globalData.from; |
|
|
} |
|
|
} |
|
|
if(app.globalData.retailId){ |
|
|
if (app.globalData.retailId) { |
|
|
data.commission_code = app.globalData.retailId; |
|
|
data.commission_code = app.globalData.retailId; |
|
|
app.globalData.retailId = null; |
|
|
app.globalData.retailId = null; |
|
|
} |
|
|
} |
|
|
if(app.globalData.category_id){ |
|
|
if (app.globalData.category_id) { |
|
|
data.category_id = app.globalData.category_id; |
|
|
data.category_id = app.globalData.category_id; |
|
|
} |
|
|
} |
|
|
if(this.data.prizeId){ |
|
|
if (this.data.prizeId) { |
|
|
data.lottery_id = this.data.prizeId |
|
|
data.lottery_id = this.data.prizeId |
|
|
} |
|
|
} |
|
|
let service = 'order/create',postData={ |
|
|
let service = 'order/create', postData = { |
|
|
data:JSON.stringify(data) |
|
|
data: JSON.stringify(data) |
|
|
} |
|
|
} |
|
|
if(app.globalData.product.isGroup==1){ |
|
|
if (app.globalData.product.isGroup == 1) { |
|
|
service = "team_order/appoint" |
|
|
service = "team_order/appoint" |
|
|
postData.member_num = this.data.productNum |
|
|
postData.member_num = this.data.productNum |
|
|
postData.team_name = this.data.groupName |
|
|
postData.team_name = this.data.groupName |
|
|
postData.type = 1; |
|
|
postData.type = 1; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
commonApi.user_post(service,postData).then(res=>{ |
|
|
commonApi.user_post(service, postData).then(res => { |
|
|
if(app.globalData.kjId){ |
|
|
if (app.globalData.kjId) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
kjId:null |
|
|
kjId: null |
|
|
}); |
|
|
}); |
|
|
app.globalData.kjId = null; |
|
|
app.globalData.kjId = null; |
|
|
} |
|
|
} |
|
|
if(app.globalData.gp_id){ |
|
|
if (app.globalData.gp_id) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
gp_id:null |
|
|
gp_id: null |
|
|
}); |
|
|
}); |
|
|
app.globalData.gp_id = null; |
|
|
app.globalData.gp_id = null; |
|
|
} |
|
|
} |
|
|
if(res.code==1 && app.globalData.product.isGroup==1){ |
|
|
if (res.code == 1 && app.globalData.product.isGroup == 1) { |
|
|
// 团购跳转到团购详情
|
|
|
// 团购跳转到团购详情
|
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/groupOrderInfo/index?id='+res.data.order_id+'&from=order' |
|
|
url: '/pages/info/groupOrderInfo/index?id=' + res.data.order_id + '&from=order' |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 活动预约
|
|
|
// 活动预约
|
|
|
activityOrder:function(){ |
|
|
activityOrder: function () { |
|
|
if(this.data.linkmanList && this.data.linkmanList.length>0){ |
|
|
if (this.data.linkmanList && this.data.linkmanList.length > 0) { |
|
|
commonApi.user_post("pbservice/Culture/booking",{ |
|
|
commonApi.user_post("pbservice/Culture/booking", { |
|
|
id:this.data.product.product.id, |
|
|
id: this.data.product.product.id, |
|
|
name:this.data.linkmanList[0].name, |
|
|
name: this.data.linkmanList[0].name, |
|
|
card_number:this.data.linkmanList[0].id_number, |
|
|
card_number: this.data.linkmanList[0].id_number, |
|
|
tel:this.data.linkmanList[0].tel |
|
|
tel: this.data.linkmanList[0].tel |
|
|
}).then(res=>{ |
|
|
}).then(res => { |
|
|
if(res.code==1){ |
|
|
if (res.code == 1) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '预约成功', |
|
|
title: '预约成功', |
|
|
icon:'success' |
|
|
icon: 'success' |
|
|
}) |
|
|
}) |
|
|
setTimeout(()=>{ |
|
|
setTimeout(() => { |
|
|
wx.navigateBack() |
|
|
wx.navigateBack() |
|
|
},1000) |
|
|
}, 1000) |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
@ -259,11 +284,20 @@ Page({ |
|
|
else { |
|
|
else { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '请选择出行人', |
|
|
title: '请选择出行人', |
|
|
icon:'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
/** |
|
|
|
|
|
* 选择补贴 |
|
|
|
|
|
*/ |
|
|
|
|
|
selectAllowance: function () { |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
select_allowance: !this.data.select_allowance |
|
|
|
|
|
}) |
|
|
|
|
|
this.changePrice() |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
@ -277,18 +311,49 @@ Page({ |
|
|
* 生命周期函数--监听页面显示 |
|
|
* 生命周期函数--监听页面显示 |
|
|
*/ |
|
|
*/ |
|
|
onShow: function () { |
|
|
onShow: function () { |
|
|
if(!this.data.isLogin){ |
|
|
if (!this.data.isLogin) { |
|
|
commonApi.user_post("token/check").then(res=>{ |
|
|
commonApi.user_post("token/check").then(res => { |
|
|
if(res.code==1){ |
|
|
if (res.code == 1) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
isLogin:true |
|
|
isLogin: true |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
coupon:app.globalData.couponInfo |
|
|
coupon: app.globalData.couponInfo |
|
|
}) |
|
|
}) |
|
|
|
|
|
// 获取补贴
|
|
|
|
|
|
if (this.data.product) { |
|
|
|
|
|
commonApi.user_post("product/getProductAllowancePrice", { |
|
|
|
|
|
product_code: this.data.product.product.product_code |
|
|
|
|
|
}).then(resTwo => { |
|
|
|
|
|
console.log(resTwo) |
|
|
|
|
|
if (resTwo && resTwo.code == 1) { |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
allowance_data: resTwo.data |
|
|
|
|
|
}) |
|
|
|
|
|
let spread_price = Number(this.data.allowance_data.discount_limit_price - this.data.allowance_data.user_used_price) |
|
|
|
|
|
let sInfo = this.data.product.sku |
|
|
|
|
|
if (spread_price > 0) { |
|
|
|
|
|
if (spread_price < this.data.allowance_data.discount_rate / 100 * sInfo.price) { |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
allowance_price: spread_price |
|
|
|
|
|
}) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
allowance_price: this.data.allowance_data.discount_rate / 100 * sInfo.price |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
this.changePrice() |
|
|
|
|
|
} else { |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
allowance_price: 0 |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
@ -303,8 +368,8 @@ Page({ |
|
|
*/ |
|
|
*/ |
|
|
onUnload: function () { |
|
|
onUnload: function () { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
kjId:null, |
|
|
kjId: null, |
|
|
gp_id:null |
|
|
gp_id: null |
|
|
}); |
|
|
}); |
|
|
app.globalData.kjId = null; |
|
|
app.globalData.kjId = null; |
|
|
app.globalData.gp_id = null; |
|
|
app.globalData.gp_id = null; |
|
|
|