瀏覽代碼

update

master
dengbiao 7 月之前
父節點
當前提交
a2368b7d0b
共有 1 個檔案被更改,包括 9 行新增9 行删除
  1. +9
    -9
      src/common/Service/AliBPass/demo/AliEcoService.php

+ 9
- 9
src/common/Service/AliBPass/demo/AliEcoService.php 查看文件

@@ -491,21 +491,21 @@ class AliEcoService extends BaseService
$this->logger($resMapData, 'alipayPlanetEcocampusApiFtokenQuery', true);

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

/**


Loading…
取消
儲存