Commit 52a3b3a2 by doszhang

dos

parent debb6066
...@@ -20,10 +20,9 @@ class IndexController extends Controller ...@@ -20,10 +20,9 @@ class IndexController extends Controller
public function index() public function index()
{ {
session_start(); session_start();
$_SESSION['joinTime'] = time(); $_SESSION['joinTime'] = time();
if($this->isWeixin()) if(1)
{ {
$user = $this->get_user_info_from_cookie(); $user = $this->get_user_info_from_cookie();
// 如果没有获取到用户信息,引导用户授权 // 如果没有获取到用户信息,引导用户授权
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment