diff --git a/simplewind/cmf/controller/WeChatBaseController.php b/simplewind/cmf/controller/WeChatBaseController.php index 88b5385..f2c40a6 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',2)->find(); - cmf_update_current_user($user); + /*$user = Db::name('user')->where('id',2)->find(); + cmf_update_current_user($user);*/ $userId = cmf_get_current_user_id(); if (empty($userId)) { $config = [