DengBiao 1 rok temu
rodzic
commit
da8d9de8b2
1 zmienionych plików z 1 dodań i 2 usunięć
  1. +1
    -2
      src/applet/app/controllers/AliCallBackController.php

+ 1
- 2
src/applet/app/controllers/AliCallBackController.php Wyświetl plik

@@ -47,7 +47,6 @@ class AliCallBackController extends \Phalcon\Mvc\Controller
{
$params = $this->request->get();
$this->logger($params, 'aliEcoCommonCallBack', true);

//获取支付宝行业云公钥
$alipayrsaPublicKey = 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuWFuSpwY/2llLhy5Hxkqcc0qQFQOvemkYOI4S43L4qArX4x+DQN1RFuvfGuwOLScBKaoDYHsu9PSoTtcIj4obhhexbWHfelcsouV7Pj4YChrOkOLHAMLDQhGRXaZyXQAJdk2DoBkJ0vBDD/b1gZT8QznPopvuT4Y0rx/a2vK+5B/XV0wUuP2PnpWoPxNSwr7neFWvUdkC7yJJg4zJ1INLYy9TgHH3LKYrsEDbQzPJyMPFhD0zDb36b62q3tQYc1w8JknS6XeXMkX1Tu4zZbAxyIiv3J1FK8y7dtoRi9gLgo0uLsXWDn5AwAlzqfOERgLMWD2r6FE8tOXVbMha6IImQIDAQAB';
//支付宝提供的密钥
@@ -58,7 +57,7 @@ class AliCallBackController extends \Phalcon\Mvc\Controller
$response = [];
switch ($params["service"] ?? "") {
case "alipay.planet.ecocampus.spi.school.queryFaceGroupKey":
$biz_content = json_encode($params["biz_content"], true);
$biz_content = json_decode($params["biz_content"], true);
//SPI::获取学校人脸库id
$selfSupportForSchoolInfo = SelfSupportForSchoolInfo::findFirst("school_code = '{$biz_content["schoolCode"]}'");
if (empty($selfSupportForSchoolInfo)) {


Ładowanie…
Anuluj
Zapisz