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,'','');