lin
2026-05-09 961cc2838a832878ed8f506f64a33ce43590be6f
feat:星享购 领取虚拟权益
1 files modified
12 ■■■■■ changed files
pages/quanshou/index.vue 12 ●●●●● patch | view | raw | blame | history
pages/quanshou/index.vue
@@ -99,14 +99,18 @@
    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,
        data:{
          customerId: uni.getStorageSync('ygxLogin').customerId,
          appId: uni.getStorageSync('ygxLogin').appId
        },
        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)
              url: '/pages/web/toUrl?webUel=' + encodeURIComponent(res.data.data.url)
            })
          } else {
            _this.tips = res.data.data || res.data.msg;
@@ -124,7 +128,7 @@
    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;