Commit 887f177f by 王召彬

接口签名不正确需要忽略签名

parent b7568470
......@@ -147,13 +147,14 @@ class BaseClient extends PaymentBaseClient
$this->pushMiddleware($this->logMiddleware(), 'log');
$response = $this->performRequest($endpoint, $method, $options);
$result = $returnResponse ? $response : $this->castResponseToType($response, $this->app->config->get('response_type'));
if($endpoint != 'applyment/micro/getupgradestate') { // 活动啦啦补丁:这个接口签名不正确需要忽略签名
// auto verify signature
if ($returnResponse || 'array' !== ($this->app->config->get('response_type') ?? 'array')) {
$this->app->verifySignature($this->castResponseToType($response, 'array'));
} else {
$this->app->verifySignature($result);
}
}
return $result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment