From 47c3d6c4d0e5db5130a92798b31205a0beff87c2 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 25 Oct 2022 16:58:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=89=E9=92=89=E5=AE=A1=E6=89=B9=E6=98=8E?= =?UTF-8?q?=E7=A1=AE=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/dingtools/controllers/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webht/third_party/dingtools/controllers/index.php b/webht/third_party/dingtools/controllers/index.php index c49ff74e..34a0357f 100644 --- a/webht/third_party/dingtools/controllers/index.php +++ b/webht/third_party/dingtools/controllers/index.php @@ -34,7 +34,7 @@ class index extends CI_Controller { $channelType = $this->input->post('ChannelType'); if(empty($postunionid)){ - exit('参数错误'); + exit('参数(postunionid)为空'); } //获取access_token @@ -118,7 +118,7 @@ class index extends CI_Controller { //获取用户id function getuserid($unionid){ if(empty($unionid)){ - exit('参数为空'); + exit('参数(unionid)为空'); }else{ $access_url = 'https://oapi.dingtalk.com/gettoken?appkey='.$this->AppKey.'&appsecret='.$this->AppSecret; $access_token = GetPost_http($access_url,'',''); @@ -134,7 +134,7 @@ class index extends CI_Controller { //获取部门列表 function getdeptid($userid){ if(empty($userid)){ - exit('参数错误'); + exit('参数(userid)为空'); }else{ $access_url = 'https://oapi.dingtalk.com/gettoken?appkey='.$this->AppKey.'&appsecret='.$this->AppSecret; $access_token = GetPost_http($access_url,'','');