作者 lihan
1 个管道 的构建 通过 耗费 0 秒

支付宝

... ... @@ -432,13 +432,13 @@ class OrderController extends HomeBaseController
{
print_r(cache('zfb'));
$zfb = cache('zfb');
$zfb['out_trade_no'] = '20185125101691';
$zfb['out_trade_no'] = '2018';
require EXTEND_PATH . '/alipay/config.php';
require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php';
$alipay = new \AlipayTradeService($config);
$return = request()->param();
//cache('zfb', $return);
echo $alipay->check(1);
var_dump($alipay->check($zfb));
}
}
\ No newline at end of file
... ...