This commit is contained in:
28
app/Service/Test/Adapter/Pay/WechatPayService.php
Normal file
28
app/Service/Test/Adapter/Pay/WechatPayService.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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 WechatPayService
|
||||
{
|
||||
/**
|
||||
* @param float $amount
|
||||
* @return array
|
||||
*/
|
||||
public function makePayment(float $amount): array
|
||||
{
|
||||
return [
|
||||
'code' => 'error',
|
||||
'status' => 'fail',
|
||||
'amount' => $amount,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user