You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperf-gateway/app/JsonRpc/PunchCardSystemExternalServ...

26 lines
657 B
PHTML

<?php
namespace App\JsonRpc;
use Hyperf\RpcClient\AbstractServiceClient;
use Hyperf\HttpServer\Contract\RequestInterface;
class PunchCardSystemExternalServiceConsumer extends AbstractServiceClient implements PunchCardSystemExternalServiceInterface
{
/**
* 定义对应服务提供者的服务名称
* @var string
*/
protected $serviceName = 'PunchCardSystemExternalService';
/**
* 保存问题反馈
*
* @param RequestInterface $request
* @return array
*/
public function saveFeedback(RequestInterface $request) : array
{
return $this->__request(__FUNCTION__, $request->all());
}
}