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

支付宝

@@ -432,10 +432,15 @@ class OrderController extends HomeBaseController @@ -432,10 +432,15 @@ class OrderController extends HomeBaseController
432 { 432 {
433 require EXTEND_PATH . '/alipay/config.php'; 433 require EXTEND_PATH . '/alipay/config.php';
434 require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php'; 434 require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php';
435 - $alipay = new \AlipayTradeService($config);  
436 - $return = request()->param();  
437 - cache('zfb', $return);  
438 - cache('jj', $alipay->check($return)); 435 +// $alipay = new \AlipayTradeService($config);
  436 +// $return = request()->param();
  437 +// cache('zfb', $return);
  438 +// cache('jj', $alipay->check($return));
  439 + $arr=$_POST;
  440 + $alipaySevice = new AlipayTradeService($config);
  441 + $alipaySevice->writeLog(var_export($_POST,true));
  442 + $result = $alipaySevice->check($arr);
  443 + cache('jj', $result);
439 } 444 }
440 445
441 } 446 }