2020.02新版

This commit is contained in:
Blokura
2020-02-21 16:20:55 +08:00
parent 45e2415d71
commit a2f29a310b
755 changed files with 95144 additions and 0 deletions

19
pay.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
$nosession = true;
include("./includes/common.php");
$s = isset($_GET['s'])?$_GET['s']:exit('404 Not Found');
unset($_GET['s']);
$loadfile = \lib\Plugin::load($s);
$order = $DB->getRow("SELECT * FROM pre_order WHERE trade_no='".TRADE_NO."' limit 1");
if(!$order)sysmsg('该订单号不存在,请返回来源地重新发起请求!');
$channel = \lib\Channel::get($order['channel']);
if(!$channel || $channel['plugin']!=PAY_PLUGIN)sysmsg('当前支付通道信息不存在');
$ordername = !empty($conf['ordername'])?ordername_replace($conf['ordername'],$order['name'],$order['uid']):$order['name'];
$order['money'] = $order['realmoney'];
include $loadfile;