From 172dcfc57c33271f3eefaadc656f99a1e433f738 Mon Sep 17 00:00:00 2001 From: cyc Date: Wed, 5 Jun 2019 15:38:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9cookie=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/dingmail/controllers/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webht/third_party/dingmail/controllers/index.php b/webht/third_party/dingmail/controllers/index.php index 45f2d217..d4ae3513 100644 --- a/webht/third_party/dingmail/controllers/index.php +++ b/webht/third_party/dingmail/controllers/index.php @@ -49,7 +49,7 @@ class Index extends CI_Controller { } }else{ if($unionid == null){ - $unionid = $this->session->userdata('dingding_user_info')->ddu_Unionid; + $unionid = get_cookie('dingunionid'); } $mdata['user'] = $this->ding_value_model->get_dingding_user($unionid); $mdata['user_unionid'] = $unionid;