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

支付宝

... ... @@ -431,12 +431,14 @@ class OrderController extends HomeBaseController
public function alipayNotify()
{
print_r(cache('zfb'));
$zfb = cache('zfb');
$zfb['out_trade_no'] = '20185125101691';
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(cache('zfb'));
echo $alipay->check($zfb);
}
}
\ No newline at end of file
... ...