正在显示
1 个修改的文件
包含
1 行增加
和
3 行删除
@@ -433,12 +433,10 @@ class OrderController extends HomeBaseController | @@ -433,12 +433,10 @@ class OrderController extends HomeBaseController | ||
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 | $arr = $_POST; | 435 | $arr = $_POST; |
436 | - cache('zfb', $arr); | ||
437 | $alipaySevice = new \AlipayTradeService($config); | 436 | $alipaySevice = new \AlipayTradeService($config); |
438 | $alipaySevice->writeLog(var_export($_POST, true)); | 437 | $alipaySevice->writeLog(var_export($_POST, true)); |
439 | - $result = $alipaySevice->check(cache('zfb')); | 438 | + $result = $alipaySevice->check($arr); |
440 | cache('notify', $result); | 439 | cache('notify', $result); |
441 | - print_r($result); | ||
442 | if ($result) { | 440 | if ($result) { |
443 | Db::name('user')->where(['id' => 10])->setInc('balance', 1); | 441 | Db::name('user')->where(['id' => 10])->setInc('balance', 1); |
444 | } | 442 | } |
-
请 注册 或 登录 后发表评论