Bladeren bron

update

master
DengBiao 1 jaar geleden
bovenliggende
commit
3169573e77
1 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  1. +5
    -1
      src/applet/app/controllers/AliCallBackController.php

+ 5
- 1
src/applet/app/controllers/AliCallBackController.php Bestand weergeven

@@ -46,7 +46,8 @@ class AliCallBackController extends \Phalcon\Mvc\Controller
public function ecoCallBackAction()
{
$params = $this->request->get();
$this->logger($params, 'aliEcoCommonCallBack', true);
$this->logger(["req" => $params], 'aliEcoCommonCallBack', true);

//获取支付宝行业云公钥
$alipayrsaPublicKey = 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuWFuSpwY/2llLhy5Hxkqcc0qQFQOvemkYOI4S43L4qArX4x+DQN1RFuvfGuwOLScBKaoDYHsu9PSoTtcIj4obhhexbWHfelcsouV7Pj4YChrOkOLHAMLDQhGRXaZyXQAJdk2DoBkJ0vBDD/b1gZT8QznPopvuT4Y0rx/a2vK+5B/XV0wUuP2PnpWoPxNSwr7neFWvUdkC7yJJg4zJ1INLYy9TgHH3LKYrsEDbQzPJyMPFhD0zDb36b62q3tQYc1w8JknS6XeXMkX1Tu4zZbAxyIiv3J1FK8y7dtoRi9gLgo0uLsXWDn5AwAlzqfOERgLMWD2r6FE8tOXVbMha6IImQIDAQAB';
//支付宝提供的密钥
@@ -96,6 +97,9 @@ class AliCallBackController extends \Phalcon\Mvc\Controller
"sign" => $sign1,
"response" => $response
];

$this->logger(["resp" => $params], 'aliEcoCommonCallBack', true);

header('Content-Type: application/json');
exit(json_encode(
$result


Laden…
Annuleren
Opslaan