From ec5d8a96708e4d7dbc4bc496a47cd972e36b70b5 Mon Sep 17 00:00:00 2001
From: anyv <anyu@bronet.cn>
Date: Mon, 24 Jun 2019 11:07:16 +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 3c043b3..78d080e 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