| | |
| | | const _this = this; |
| | | this.isAgree = uni.getStorageSync('boughtEquity') |
| | | uni.request({ |
| | | url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+uni.getStorageSync('phone')+'&appId='+'47be9559-6b1b-42dd-84ed-25d028065013', |
| | | url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+'47be9559-6b1b-42dd-84ed-25d028065013', |
| | | success: function (res) { |
| | | if(res.data.code==200){ |
| | | _this.lst = res.data.data; |
| | |
| | | toHuiyuan(){ |
| | | const _this = this; |
| | | uni.request({ |
| | | url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+uni.getStorageSync('phone'), |
| | | url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+_this.$util.getUserInfo().phone, |
| | | success: function (res) { |
| | | if(res.data.code==200){ |
| | | uni.request( { |
| | | url: _this.$webHost+'/api/v2/memberEquity/clickUrlByShop/'+uni.getStorageSync('phone'), |
| | | url: _this.$webHost+'/api/v2/memberEquity/clickUrlByShop/'+_this.$util.getUserInfo().phone, |
| | | }) |
| | | uni.navigateTo( { |
| | | url: '/pages/users/web_page/index?webUel=' + encodeURIComponent(res.data.data.url) |
| | |
| | | getTips(){ |
| | | const _this = this; |
| | | uni.request({ |
| | | url: _this.$webHost+'/api/v2/shop/findExpressNo?phone='+uni.getStorageSync('phone'), |
| | | url: _this.$webHost+'/api/v2/shop/findExpressNo?phone='+_this.$util.getUserInfo().phone, |
| | | success: function (res) { |
| | | if(res.data.code==200){ |
| | | _this.tips = res.data.data; |