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