|
|
@ -0,0 +1,28 @@ |
|
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace App\JsonRpc; |
|
|
|
|
|
|
|
|
|
|
|
use Hyperf\RpcServer\Annotation\RpcService; |
|
|
|
|
|
|
|
|
|
|
|
use Hyperf\Di\Annotation\Inject; |
|
|
|
|
|
/** |
|
|
|
|
|
* @RpcService(name="SeparateaccountsService", protocol="jsonrpc-http", server="jsonrpc-http", publishTo="") |
|
|
|
|
|
* Class SeparateAccountsService |
|
|
|
|
|
* @package App\JsonRpc |
|
|
|
|
|
*/ |
|
|
|
|
|
class SeparateaccountsService implements SeparateAccountsServiceInterface |
|
|
|
|
|
{ |
|
|
|
|
|
/** |
|
|
|
|
|
* @Inject |
|
|
|
|
|
* @var \App\Service\v3\Interfaces\SeparateAccountsServiceInterface |
|
|
|
|
|
*/ |
|
|
|
|
|
private $separateaccountsService; |
|
|
|
|
|
|
|
|
|
|
|
public function orderOnlineCompleted($orderMainId, $userId) |
|
|
|
|
|
{ |
|
|
|
|
|
// TODO: Implement orderOnlineCompleted() method.
|
|
|
|
|
|
return $this->separateaccountsService->orderOnlineCompleted($orderMainId, $userId); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
} |