|
@@ -1448,9 +1448,11 @@ class QyWechat
|
|
|
public function updateUser($data){
|
|
|
if (!$this->access_token && !$this->checkAuth()) return false;
|
|
|
$result = $this->http_post(self::API_URL_PREFIX.self::USER_UPDATE_URL.'access_token='.$this->access_token,self::json_encode($data));
|
|
|
- if ($result)
|
|
|
+ var_dump($result);
|
|
|
+ if ($result)
|
|
|
{
|
|
|
$json = json_decode($result,true);
|
|
|
+ var_dump($json);exit;
|
|
|
if (!$json || !empty($json['errcode']) || $json['errcode']!=0) {
|
|
|
$this->errCode = $json['errcode'];
|
|
|
$this->errMsg = $json['errmsg'];
|