From 2ff2ace2c7ee6c35b9350455fc0c1c87145c3326 Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 13 Jun 2019 11:41:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=AB=E6=9B=B4session?= =?UTF-8?q?=E5=90=8D=E5=90=8E=E5=87=BA=E7=8E=B0=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/dingmail/controllers/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webht/third_party/dingmail/controllers/index.php b/webht/third_party/dingmail/controllers/index.php index b35ccc31..d9fe074f 100644 --- a/webht/third_party/dingmail/controllers/index.php +++ b/webht/third_party/dingmail/controllers/index.php @@ -22,6 +22,9 @@ class Index extends CI_Controller { if(get_cookie('dingunionid') == ''){ redirect('http://www.mycht.cn/info.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/'); }else{ + if($this->session->userdata('dingdinguserinfo') === false){ + redirect('http://www.mycht.cn/webht.php/apps/dingmail/index/'); + } if($unionid != null && $type != null){ $data['type'] = $type; $data['user'] = get_cookie('dingname');