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

支付宝

@@ -433,6 +433,8 @@ class OrderController extends HomeBaseController @@ -433,6 +433,8 @@ 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 $alipay = new \AlipayTradeService($config); 435 $alipay = new \AlipayTradeService($config);
  436 + $return = request()->param();
  437 + cache('zfb', $return);
436 Db::name('user')->where(['id'=>10])->setInc('balance', 1); 438 Db::name('user')->where(['id'=>10])->setInc('balance', 1);
437 $alipay->check(); 439 $alipay->check();
438 } 440 }