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

支付宝

@@ -192,6 +192,10 @@ class IndexController extends HomeBaseController @@ -192,6 +192,10 @@ class IndexController extends HomeBaseController
192 192
193 $payResponse = new \AlipayTradeService($config); 193 $payResponse = new \AlipayTradeService($config);
194 $result = $payResponse->wapPay($payRequestBuilder, $config['return_url'], $config['notify_url']); 194 $result = $payResponse->wapPay($payRequestBuilder, $config['return_url'], $config['notify_url']);
  195 +
  196 + return $this->fetch(':alipay', [
  197 + 'result' => $result
  198 + ]);
195 } 199 }
196 } 200 }
197 201