Browse Source

update

master
DengBiao 1 year ago
parent
commit
1b4b5707e8
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      src/common/Service/AliBPass/demo/AliEcoService.php

+ 8
- 8
src/common/Service/AliBPass/demo/AliEcoService.php View File

@@ -154,9 +154,9 @@ class AliEcoService extends BaseService
$this->logger($resMapData, 'alipayPlanetEcocampusApiDebtPageQueryDebtInfo', true);

// 验签
$verifyRes = checkResponse($resMapData, $client->alipayrsaPublicKey);
if ($verifyRes) {
// $verifyRes = checkResponse($resMapData, $client->alipayrsaPublicKey);
//
// if ($verifyRes) {
// echo "响应验签成功";
$responseData = $resMapData["response"];
if ($responseData['code'] == 10000) {
@@ -164,11 +164,11 @@ class AliEcoService extends BaseService
} else {
return $this->returnRes(false, ($responseData['sub_msg'] ?? $responseData['msg']), $resMapData);
}
} else {
// echo "响应验签失败";
return $this->returnRes(false, "响应验签失败", []);
}
// } else {
//// echo "响应验签失败";
// return $this->returnRes(false, "响应验签失败", []);
//
// }
}

/**


Loading…
Cancel
Save