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

支付宝

@@ -430,14 +430,14 @@ class OrderController extends HomeBaseController @@ -430,14 +430,14 @@ class OrderController extends HomeBaseController
430 //支付宝异步回调 430 //支付宝异步回调
431 public function alipayNotify() 431 public function alipayNotify()
432 { 432 {
433 - //print_r(cache('zfb')); 433 + print_r(cache('zfb'));
434 require EXTEND_PATH . '/alipay/config.php'; 434 require EXTEND_PATH . '/alipay/config.php';
435 require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php'; 435 require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php';
436 $alipay = new \AlipayTradeService($config); 436 $alipay = new \AlipayTradeService($config);
437 $return = request()->param(); 437 $return = request()->param();
438 cache('zfb', $return); 438 cache('zfb', $return);
439 Db::name('user')->where(['id'=>10])->setInc('balance', 1); 439 Db::name('user')->where(['id'=>10])->setInc('balance', 1);
440 - $alipay->check(); 440 + //$alipay->check();
441 } 441 }
442 442
443 } 443 }