We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 版本:7.0.12 overtrue/wechat 版本:4.0 dev-master 是否使用了框架?框架名称:ThinkPHP 5
代码如下,通讯录可以正常用,OA的打卡和审批记录两个方法直接报错。 Call to undefined method EasyWeChat\Work\Base\Client::checkinRecords()
$config = [ 'corp_id' => 'xxx', // 应用列表 'agents' => [ 'contacts' => [ 'secret' => 'xxx', ], 'oa' => [ 'secret' => 'xxx', ], ], ]; $work = Factory::work($config); // 通讯录正常 $contacts = $work->agent('contacts'); $list = $contacts->department->list(); dump($list); // OA直接报 Call to undefined method EasyWeChat\Work\Base\Client::checkinRecords() 错误 $oa = $work->agent('oa'); $oa->checkinRecords(1492617600, 1492790400, ["james","paul"]);
The text was updated successfully, but these errors were encountered:
$oa = $work->agent('oa')->oa;
Sorry, something went wrong.
嗯 那4.0文檔裏也順帶改一下吧。
No branches or pull requests
我用的环境
PHP 版本:7.0.12
overtrue/wechat 版本:4.0 dev-master
是否使用了框架?框架名称:ThinkPHP 5
问题及现象
代码如下,通讯录可以正常用,OA的打卡和审批记录两个方法直接报错。
Call to undefined method EasyWeChat\Work\Base\Client::checkinRecords()
The text was updated successfully, but these errors were encountered: