{"action":"created","issue":{"url":"https://api.github.com/repos/overtrue/wechat/issues/222","labels_url":"https://api.github.com/repos/overtrue/wechat/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/overtrue/wechat/issues/222/comments","events_url":"https://api.github.com/repos/overtrue/wechat/issues/222/events","html_url":"https://github.com/overtrue/wechat/issues/222","id":125531900,"number":222,"title":"客服接口暂时测到有3个bug，麻烦修复","user":{"login":"punlap","id":12131902,"avatar_url":"https://avatars.githubusercontent.com/u/12131902?v=3","gravatar_id":"","url":"https://api.github.com/users/punlap","html_url":"https://github.com/punlap","followers_url":"https://api.github.com/users/punlap/followers","following_url":"https://api.github.com/users/punlap/following{/other_user}","gists_url":"https://api.github.com/users/punlap/gists{/gist_id}","starred_url":"https://api.github.com/users/punlap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punlap/subscriptions","organizations_url":"https://api.github.com/users/punlap/orgs","repos_url":"https://api.github.com/users/punlap/repos","events_url":"https://api.github.com/users/punlap/events{/privacy}","received_events_url":"https://api.github.com/users/punlap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-08T02:54:56Z","updated_at":"2016-01-08T03:01:41Z","closed_at":null,"body":"1. 添加/修改客服时会报“需要HTTPS请求”这个错误\r\n\r\n2.如果用Homestead，php版本号为“7.0.1-1+deb.sury.org~trusty+2”，版本判断会错误\r\n   那么上传客服头像时会报“curl_setopt(): Disabling safe uploads is no longer supported”\r\n\r\n  overtrue/wechat/src/Wechat/Utils/Http.php的197行\r\n  version_compare(PHP_VERSION, '5.5', '<') || curl_setopt($this->curl, CURLOPT_SAFE_UPLOAD, false);\r\n\r\n3.删除客服，wiki中说使用\r\n  $staff->delete($email, $nickname, $password); 删除客服帐号\r\n  但overtrue/wechat/src/Wechat/Staff.php的delete方法只接收$email一个参数\r\n  如果只传$email，会报“无效客服账号(invalid kf_account)”这个错误"},"comment":{"url":"https://api.github.com/repos/overtrue/wechat/issues/comments/169879412","html_url":"https://github.com/overtrue/wechat/issues/222#issuecomment-169879412","issue_url":"https://api.github.com/repos/overtrue/wechat/issues/222","id":169879412,"user":{"login":"xiaohome","id":15627505,"avatar_url":"https://avatars.githubusercontent.com/u/15627505?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaohome","html_url":"https://github.com/xiaohome","followers_url":"https://api.github.com/users/xiaohome/followers","following_url":"https://api.github.com/users/xiaohome/following{/other_user}","gists_url":"https://api.github.com/users/xiaohome/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaohome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaohome/subscriptions","organizations_url":"https://api.github.com/users/xiaohome/orgs","repos_url":"https://api.github.com/users/xiaohome/repos","events_url":"https://api.github.com/users/xiaohome/events{/privacy}","received_events_url":"https://api.github.com/users/xiaohome/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T03:01:40Z","updated_at":"2016-01-08T03:01:40Z","body":"@punlap 既然你用 7.0.1 你就换成 3.0版本\r\n"}}