DengTao 8 жил өмнө
parent
commit
4f607814ab

+ 2 - 0
www/protected/modules/common/views/activity/getCoupon.php

@@ -26,7 +26,9 @@
     (function(){
         var ua = navigator.userAgent.toLowerCase();
         if (ua.match(/MicroMessenger/i) == 'micromessenger') {
+            alert("123");
             location.href = '<?php echo Yii::app()->request->baseUrl . 'index.php?r=/common/activity/wxIndex&coupon_id=' . $coupon_id; ?>';
+
             document.write('<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"><\/script>');
         }
     })();