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

支付宝

... ... @@ -430,13 +430,12 @@ class OrderController extends HomeBaseController
//支付宝异步回调
public function alipayNotify()
{
print_r(cache('zfb'));
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);
var_dump($alipay->check(cache('zfb')));
$return = request()->param();
cache('zfb', $return);
var_dump($alipay->check($return));
}
}
\ No newline at end of file
... ...