From 4fd416bd2a0448ab838f517acf5dd1c619d4e8ba Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 13 Jun 2019 11:25:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webht/third_party/dingmail/controllers/index.php b/webht/third_party/dingmail/controllers/index.php index c05a0999..b35ccc31 100644 --- a/webht/third_party/dingmail/controllers/index.php +++ b/webht/third_party/dingmail/controllers/index.php @@ -23,10 +23,9 @@ class Index extends CI_Controller { redirect('http://www.mycht.cn/info.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/'); }else{ if($unionid != null && $type != null){ - $user_info = $this->session->userdata('dingdinguserinfo'); $data['type'] = $type; - $data['user'] = $user_info->ddu_Name; - $data['user_unionid'] = $user_info->ddu_Unionid; + $data['user'] = get_cookie('dingname'); + $data['user_unionid'] = get_cookie('dingunionid'); if($this->ding_value_model->get_dingding_user($unionid) == null){ echo '该用户还未登录过,请告知他登录后才能对他点赞或拍砖!
'; echo '有问题请联系:CYC!';