diff --git a/pages/user/user_spsy/user_spsy.js b/pages/user/user_spsy/user_spsy.js
index 98d65f8..01f1f68 100644
--- a/pages/user/user_spsy/user_spsy.js
+++ b/pages/user/user_spsy/user_spsy.js
@@ -15,7 +15,8 @@ Page({
page: 1,
isLoading: 0,
no_more: 0,
- is_use: 0 //领取状态
+ is_use: 0, //领取状态
+ is_appoint_storage:0 //是否要登记门店才可以领取 0是不用,1要登记
},
/**
* 生命周期函数--监听页面加载
@@ -41,6 +42,14 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow: function () {
+ let th=this
+ //先获取是否有关闭使用优惠券
+ getApp().getConfig2(function (ee) {
+ var json_d = JSON.parse(ee.switch_list);
+ th.setData({
+ is_appoint_storage:json_d.is_appoint_storage,//是否要登记门店才可以领取 0是不用,1要登记
+ });
+ }, 1);
getApp().check_can_share();
},
async getQrCode(FormId,GradeId) {
diff --git a/pages/user/user_spsy/user_spsy.wxml b/pages/user/user_spsy/user_spsy.wxml
index 17fed25..6b9c677 100644
--- a/pages/user/user_spsy/user_spsy.wxml
+++ b/pages/user/user_spsy/user_spsy.wxml
@@ -14,7 +14,7 @@
-->
已使用
- 立即使用
+ 立即使用
登记取货