...
|
...
|
@@ -166,11 +166,11 @@ class IndexController extends HomeBaseController |
|
|
require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php';
|
|
|
$alipay_config = [
|
|
|
'gatewayUrl' => "https://openapi.alipay.com/gateway.do",
|
|
|
'appid' => "2018101661696470",
|
|
|
'private_key' => config('private_key'),
|
|
|
'app_id' => "2018101661696470",
|
|
|
'merchant_private_key' => config('private_key'),
|
|
|
'alipay_public_key' => config('alipay_public_key'),
|
|
|
'charset' => "UTF-8",
|
|
|
'signtype' => "RSA"
|
|
|
'sign_type' => "RSA"
|
|
|
];
|
|
|
$alipay = new \AlipayTradeService($alipay_config);
|
|
|
$builder = [
|
...
|
...
|
|