Browse Source

fix:微信端三级页isAdd接口被缓存

yangfeng 3 năm trước cách đây
mục cha
commit
0771d7b1b2
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/web/templates/weixin/wxinfocontent_rec.html

+ 2 - 1
src/web/templates/weixin/wxinfocontent_rec.html

@@ -1662,7 +1662,7 @@ isOpening()
 function isOpening() {
 	$.ajax({
 			type:'GET',
-			url:'/bigmember/use/isAdd',
+			url:'/bigmember/use/isAdd?t=' + Date.now(),
 			success: function(res) {
 					//console.log(res)
           bigstatus = res.data.memberStatus
@@ -1707,6 +1707,7 @@ function isOpening() {
               $('.free-down-text').css('display', 'inline-block')
             } else {
               // 留过资 体验过的 提示开通超级订阅
+              $('.free-down-text').hide()
               $('.free-open-tip').css('display', 'flex')
               $('.free-open-tip .open-vip-btn').click(function(){
                 location.href= '/front/vipsubscribe/vipsubscribe_new'