Files
hyperf_test/app/Service/Test/Proxy/Remote/LocalOrderService.php
2025-09-07 14:18:01 +08:00

30 lines
561 B
PHP

<?php
/**
* This service file is part of item.
*
* @author ctexthuang
* @contact ctexthuang@qq.com
* @web_site https://ctexthuang.com
*/
declare(strict_types=1);
namespace App\Service\Test\Proxy\Remote;
use App\Interface\Test\Proxy\OrderInterface;
class LocalOrderService implements OrderInterface
{
/**
* 本地订单
* @param array $data
* @return array
*/
public function createOrder(array $data): array
{
return [
'order_id' => uniqid(),
'status' => 'created',
];
}
}