dever 7 years ago
parent
commit
6a1de30d86
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tm/lib/Controller/EventsController.class.php

+ 1 - 0
tm/lib/Controller/EventsController.class.php

@@ -140,6 +140,7 @@ class EventsController extends Controller {
 					$info['login'] = 2;//需要登录
 					$weixin = $this->checkIsFromWeixin();
 					if (!$weixin) {
+						echo '<script>istoken("'.$loginUrl.'");</script>';die;
 						self::redirect($loginUrl);
 					}
 					//self::redirect($loginUrl);