Files
hyperf_test/app/Service/Test/Adapter/Pay/AlipayService.php
ctexthuang f4b812f861
Some checks are pending
Build Docker / build (push) Waiting to run
feat : pay Adapter
2025-09-04 23:08:54 +08:00

27 lines
463 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\Adapter\Pay;
class AlipayService
{
/**
* @param float $amount
* @return array
*/
public function sendPayment(float $amount): array
{
return [
'code' => 'success',
'amount' => $amount,
];
}
}