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

支付宝

@@ -387,10 +387,8 @@ class OrderController extends HomeBaseController @@ -387,10 +387,8 @@ class OrderController extends HomeBaseController
387 387
388 $payResponse = new \AlipayTradeService($config); 388 $payResponse = new \AlipayTradeService($config);
389 $result = $payResponse->wapPay($payRequestBuilder, $config['return_url'], $config['notify_url']); 389 $result = $payResponse->wapPay($payRequestBuilder, $config['return_url'], $config['notify_url']);
390 - $url = urldecode($result);  
391 - echo $url;  
392 return $this->fetch(':alipay', [ 390 return $this->fetch(':alipay', [
393 - 'url' => $url 391 + 'url' => $result
394 ]); 392 ]);
395 } 393 }
396 } 394 }