Explorar el Código

ActivityController

DengTao hace 8 años
padre
commit
183d35b944
Se han modificado 2 ficheros con 8 adiciones y 0 borrados
  1. 7 0
      1
  2. 1 0
      www/protected/modules/common/views/activity/getCoupon.php

+ 7 - 0
1

@@ -0,0 +1,7 @@
+Merge branch 'test'
+
+# Please enter a commit message to explain why this merge is necessary,
+# especially if it merges an updated upstream into a topic branch.
+#
+# Lines starting with '#' will be ignored, and an empty message aborts
+# the commit.

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

@@ -46,6 +46,7 @@
 
 
             var userID = localStorage.getItem('wxUserID');
             var userID = localStorage.getItem('wxUserID');
             var appToken = localStorage.getItem('appToken');
             var appToken = localStorage.getItem('appToken');
+            alert(userID);
             if (!userID || !appToken) {
             if (!userID || !appToken) {
                 localStorage.clear();
                 localStorage.clear();
                 location.href = '<?php echo Yii::app()->request->baseUrl . 'index.php?r=/common/activity/wxIndex&coupon_id=' . $coupon_id; ?>';
                 location.href = '<?php echo Yii::app()->request->baseUrl . 'index.php?r=/common/activity/wxIndex&coupon_id=' . $coupon_id; ?>';