diff --git a/common/third_party/Xcall/Xcall.php b/common/third_party/Xcall/Xcall.php index dd675319..0ef957df 100644 --- a/common/third_party/Xcall/Xcall.php +++ b/common/third_party/Xcall/Xcall.php @@ -129,11 +129,14 @@ class Xcall{ $result=$this->postUrlForCalling($url, $curlparams); $data = json_decode($result,true); if(!$data['result']){ + debug_log('function:'.__FUNCTION__,$this->log_file); + debug_log('post_data:'.$curlparams,$this->log_file); + debug_log('绑定成功result:'.$result,$this->log_file); return ['code'=>1,'msg'=>'绑定成功','data'=> $data]; }{ debug_log('function:'.__FUNCTION__,$this->log_file); debug_log('post_data:'.$curlparams,$this->log_file); - debug_log('result:'.$result,$this->log_file); + debug_log('绑定失败result:'.$result,$this->log_file); return ['code'=>0,'msg'=>$data['error']]; } }