Browse Source

Merge pull request #240 from mr-liusg/master

修正关闭客服会话接口
dodge 10 years ago
parent
commit
2da1d252f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wechat.class.php

+ 1 - 1
wechat.class.php

@@ -2598,7 +2598,7 @@ class Wechat
 	public function closeKFSession($openid,$kf_account,$text=''){
 	    $data=array(
 	    	"openid" =>$openid,
-	        "nickname" => $kf_account
+	        "kf_account" => $kf_account
 	    );
 	    if ($text) $data["text"] = $text;
 	    if (!$this->access_token && !$this->checkAuth()) return false;