27 lines
594 B
PHP
27 lines
594 B
PHP
<?php
|
|
/**
|
|
* Author: ykxiao
|
|
* Date: 2025/6/5
|
|
* Time: 下午1:45
|
|
* Description:
|
|
*
|
|
* (c) ykxiao <yk_9001@hotmail.com>
|
|
*
|
|
* This source file is subject to the MIT license that is bundled
|
|
* with this source code in the file LICENSE.
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\JsonRpc;
|
|
|
|
use Hyperf\RpcServer\Annotation\RpcService;
|
|
|
|
#[RpcService(name: 'InventoryService', server: 'jsonrpc-http', protocol: 'jsonrpc-http', publishTo: 'nacos')]
|
|
class InventoryService extends BaseService implements InventoryServiceInterface
|
|
{
|
|
public function addInventory(array $data): void
|
|
{
|
|
|
|
}
|
|
} |