From 0082a554a066970ec1e0961abbdc74fe056fe280 Mon Sep 17 00:00:00 2001 From: anyv <anyu@bronet.cn> Date: Sat, 15 Jun 2019 14:37:37 +0800 Subject: [PATCH] 5 --- 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 35153d9..a7c5ffe 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',5)->find(); - cmf_update_current_user($user); + /* $user = Db::name('user')->where('id',5)->find(); + cmf_update_current_user($user);*/ $userId = cmf_get_current_user_id(); if (empty($userId)) { $config = [ -- libgit2 0.24.0