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

支付宝

... ... @@ -164,7 +164,14 @@ class IndexController extends HomeBaseController
public function alipay()
{
require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php';
$alipay_config = [];
$alipay_config = [
'gateway_url' => "https://openapi.alipay.com/gateway.do",
'appid' => "2018101661696470",
'private_key' => config('private_key'),
'alipay_public_key' => config('alipay_public_key'),
'charset' => "UTF-8",
'signtype' => "RSA"
];
$alipay = new \AlipayTradeService($alipay_config);
$builder = [
'oid' => 2
... ...
... ... @@ -4,5 +4,8 @@ return
'AppID' => 'wx89d9ac6d013cfe38',
'AppSecret' => '01df709fc22b33d9f78b2f4023aa8dc2',
'MchId' => '1507647501',
'Key' => 'gomv032hqt50nmpz68rbn10oblj32pqz'
'Key' => 'gomv032hqt50nmpz68rbn10oblj32pqz',
'private_key' => 'MIIEpAIBAAKCAQEArNEHZmEHK65rLQmuYhYpXTsWMFf3SPLfI0WNNjm6LeUBtD/3IocM/NrkOJZ3sRRCBY8qYOWvJANG6iq/Nae0Z4bmQ25qHIesnU2ev4PurT24AMEugJwG62KUrOfZo7fmjMTsyCdcCW7W0XYwYmcz6R3a6y/APENpb33kO4lls+ly3FmocitbmAVrIcbXwl6c9Oc3iaEhcbBn8iP6Leg7GeTztW2S6m1BfhBIhYuUpQ0WOkAiqCr/+oAbP3udSC3uZzjoV6o2mcqR3nm/JACq+t2RA0OZVEXQsnqpDpsD6PxMYeLoyEu+ORyK6XlOfw8Q+ARGl4ffTu7+jHUb3dkiXwIDAQABAoIBAC6Cm0E8f9eLu6CFaH9Rg5Rp4JDmO9FQPCmcAGNFqgvMBGdkh7itLBupNZ7dMB1iXFpuq3MknbxNfXpsQsXH+s+aCMLBJqHDCfvT9hOJCGVrpOffFgra8ynKgEUAqRxc1Bmyrh84KJcJU5tP+bmiGOB2foKpeU0+v1OYSCKV2d9PVbFOW0jHJMg23AMuLq+EXsKZrykIaUIIaUPntWLZiDL6oBaMBKrpPgo5xO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