From ad2e3cf474f81521d10e9b78263d486cb4803210 Mon Sep 17 00:00:00 2001 From: jianglong <974886602@qq.com> Date: Thu, 24 Nov 2022 17:42:24 +0800 Subject: [PATCH] 1111 --- e/action/ShowInfo.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/e/action/ShowInfo.php b/e/action/ShowInfo.php index 2c8cba0..852ef3d 100644 --- a/e/action/ShowInfo.php +++ b/e/action/ShowInfo.php @@ -25,6 +25,15 @@ if(!$r['id']||$classid!=$r['classid']) { printerror('此信息不存在','',1,0,1); } + +$userId= (int)$_COOKIE['lsfmomluserid']; + +$usergroupid = 0; +if(!$userId){ + Header("Location:/e/member/login/");; +} + + //外部链接 if($r['isurl']) {