From 18d6e5e789625b0ebf931ab13f25ccd253bb08b2 Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 6 Jun 2019 12:00:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9cookie=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/dingmail/controllers/index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webht/third_party/dingmail/controllers/index.php b/webht/third_party/dingmail/controllers/index.php index d28e03a8..56b17d8f 100644 --- a/webht/third_party/dingmail/controllers/index.php +++ b/webht/third_party/dingmail/controllers/index.php @@ -49,9 +49,7 @@ class Index extends CI_Controller { } } }else{ - if($unionid == null){ - $unionid = get_cookie('dingunionid'); - } + $unionid = get_cookie('dingunionid'); $mdata['user'] = $this->ding_value_model->get_dingding_user($unionid); $mdata['user_unionid'] = $unionid; $mdata['like_count'] = $this->ding_value_model->count_like($unionid);