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