From c2db2d2584ef64e1daa708aa41daefffa9b9a2a3 Mon Sep 17 00:00:00 2001 From: anyv <anyu@bronet.cn> Date: Mon, 24 Jun 2019 11:08:04 +0800 Subject: [PATCH] 4 --- simplewind/cmf/controller/WeChatBaseController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simplewind/cmf/controller/WeChatBaseController.php b/simplewind/cmf/controller/WeChatBaseController.php index 78d080e..3c043b3 100644 --- a/simplewind/cmf/controller/WeChatBaseController.php +++ b/simplewind/cmf/controller/WeChatBaseController.php @@ -204,8 +204,8 @@ class WeChatBaseController extends BaseController */ public function checkWeChatUserLogin() { - /*$user = Db::name('user')->where('id',7)->find(); - cmf_update_current_user($user);*/ + $user = Db::name('user')->where('id',7)->find(); + cmf_update_current_user($user); $userId = cmf_get_current_user_id(); if (empty($userId)) { $config = [ -- libgit2 0.24.0