正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -430,7 +430,7 @@ class OrderController extends HomeBaseController | @@ -430,7 +430,7 @@ class OrderController extends HomeBaseController | ||
430 | //支付宝异步回调 | 430 | //支付宝异步回调 |
431 | public function alipayNotify() | 431 | public function alipayNotify() |
432 | { | 432 | { |
433 | - print_r(cache('zfb')); | 433 | + //print_r(cache('zfb')); |
434 | $zfb = cache('zfb'); | 434 | $zfb = cache('zfb'); |
435 | $zfb['out_trade_no'] = '2018'; | 435 | $zfb['out_trade_no'] = '2018'; |
436 | require EXTEND_PATH . '/alipay/config.php'; | 436 | require EXTEND_PATH . '/alipay/config.php'; |
@@ -438,7 +438,7 @@ class OrderController extends HomeBaseController | @@ -438,7 +438,7 @@ class OrderController extends HomeBaseController | ||
438 | $alipay = new \AlipayTradeService($config); | 438 | $alipay = new \AlipayTradeService($config); |
439 | $return = request()->param(); | 439 | $return = request()->param(); |
440 | //cache('zfb', $return); | 440 | //cache('zfb', $return); |
441 | - var_dump($alipay->check($zfb)); | 441 | + var_dump($alipay->check(cache('zfb'))); |
442 | } | 442 | } |
443 | 443 | ||
444 | } | 444 | } |
-
请 注册 或 登录 后发表评论