feat: 添加噜噜支付SDK和前端懒加载指令

This commit is contained in:
AIGC Developer
2026-01-06 14:33:01 +08:00
parent a99cfa28e5
commit a66bd806b2
32 changed files with 1236 additions and 114 deletions

19
SDK_2.0/SDK/refund.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
/**
* 退款
*/
require_once("lib/epay.config.php");
require_once("lib/EpayCore.class.php");
$out_refund_no = date("YmdHis").rand(111,999);
$trade_no = '2024071519404366151';
$money = '1.00';
$epay = new EpayCore($epay_config);
try{
$result = $epay->refund($out_refund_no, $trade_no, $money);
}catch(Exception $e){
echo $e->getMessage();
exit;
}
print_r($result);