瀏覽代碼

update

master
DengBiao 1 年之前
父節點
當前提交
3169573e77
共有 1 個檔案被更改,包括 5 行新增1 行删除
  1. +5
    -1
      src/applet/app/controllers/AliCallBackController.php

+ 5
- 1
src/applet/app/controllers/AliCallBackController.php 查看文件

@@ -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


Loading…
取消
儲存