for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the mingyoung/dingtalk.
*
* (c) 张铭阳 <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace EasyDingTalk\Callback;
use EasyDingTalk\Kernel\BaseClient;
class Client extends BaseClient
{
/**
* 注册业务事件回调接口
* @param array $params
* @return mixed
public function register($params)
return $this->client->postJson('call_back/register_call_back', $params);
}
* 查询事件回调接口
public function list()
return $this->client->get('call_back/get_call_back');
* 更新事件回调接口
public function update($params)
return $this->client->postJson('call_back/update_call_back', $params);
* 删除事件回调接口
public function delete()
return $this->client->get('call_back/delete_call_back');
* 获取回调失败的结果
public function failedResult()
return $this->client->get('call_back/get_call_back_failed_result');