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

支付宝

@@ -222,7 +222,9 @@ class IndexController extends HomeBaseController @@ -222,7 +222,9 @@ class IndexController extends HomeBaseController
222 'merchant_private_key' => config('private_key'), 222 'merchant_private_key' => config('private_key'),
223 'alipay_public_key' => config('alipay_public_key'), 223 'alipay_public_key' => config('alipay_public_key'),
224 'charset' => 'UTF-8', 224 'charset' => 'UTF-8',
225 - 'sign_type' => 'RSA' 225 + 'sign_type' => 'RSA',
  226 + 'return_url' => 'http://catrain.net',
  227 + 'notify_url' => 'http://catrain.net'
226 ]; 228 ];
227 229
228 $payResponse = new \AlipayTradeService($config); 230 $payResponse = new \AlipayTradeService($config);