init
- 框架初始化 - 安装插件 - 修复PHP8.4报错
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Yansongda\Pay\Gateways\Alipay;
|
||||
|
||||
class RefundGateway
|
||||
{
|
||||
/**
|
||||
* Find.
|
||||
*
|
||||
* @author yansongda <me@yansongda.cn>
|
||||
*
|
||||
* @param $order
|
||||
*/
|
||||
public function find($order): array
|
||||
{
|
||||
return [
|
||||
'method' => 'alipay.trade.fastpay.refund.query',
|
||||
'biz_content' => json_encode(is_array($order) ? $order : ['out_trade_no' => $order]),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user