正在显示
1 个修改的文件
包含
9 行增加
和
4 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论