feat: 添加噜噜支付SDK和前端懒加载指令
This commit is contained in:
17
SDK_2.0/SDK/query.php
Normal file
17
SDK_2.0/SDK/query.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* 查询订单
|
||||
*/
|
||||
require_once("lib/epay.config.php");
|
||||
require_once("lib/EpayCore.class.php");
|
||||
|
||||
$trade_no = '2024071519404366151';
|
||||
$epay = new EpayCore($epay_config);
|
||||
try{
|
||||
$result = $epay->queryOrder($trade_no);
|
||||
}catch(Exception $e){
|
||||
echo $e->getMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
print_r($result);
|
||||
Reference in New Issue
Block a user