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

支付宝

@@ -432,13 +432,13 @@ class OrderController extends HomeBaseController @@ -432,13 +432,13 @@ class OrderController extends HomeBaseController
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'] = '20185125101691'; 435 + $zfb['out_trade_no'] = '2018';
436 require EXTEND_PATH . '/alipay/config.php'; 436 require EXTEND_PATH . '/alipay/config.php';
437 require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php'; 437 require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php';
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 - echo $alipay->check(1); 441 + var_dump($alipay->check($zfb));
442 } 442 }
443 443
444 } 444 }