You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

37 lines
783 B

<?php
namespace App\JsonRpc;
use App\Commons\Log;
use App\Service\v3\Interfaces\FeiePrintServiceInterface;
use Hyperf\RpcServer\Annotation\RpcService;
use Hyperf\Di\Annotation\Inject;
/**
* @RpcService(name="FeieService", protocol="jsonrpc-http", server="jsonrpc-http", publishTo="")
* Class FeieService
* @package App\JsonRpc
*/
class FeieService implements PrintServiceInterface
{
/**
* @Inject
* @var FeiePrintServiceInterface
*/
private $feieprintService;
/**
* @Inject
* @var Log
*/
protected $log;
public function doPrint($oid)
{
// TODO: Implement doPrint() method.
$this->log->event('feieprint_rpc', ['global_order_id' => $oid]);
return $this->feieprintService->feiePrint($oid);
}
}