|
|
@ -156,7 +156,6 @@ class ServerGuard |
|
|
|
* @throws BadRequestException |
|
|
|
* @throws BadRequestException |
|
|
|
* @throws \EasyAlipay\Kernel\Exceptions\InvalidArgumentException |
|
|
|
* @throws \EasyAlipay\Kernel\Exceptions\InvalidArgumentException |
|
|
|
* @throws \EasyAlipay\Kernel\Exceptions\InvalidConfigException |
|
|
|
* @throws \EasyAlipay\Kernel\Exceptions\InvalidConfigException |
|
|
|
* @throws InvalidSignException |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getMessage() |
|
|
|
public function getMessage() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -167,8 +166,8 @@ class ServerGuard |
|
|
|
if (!$this->rsaCheckV2($data, $sign, $publicKey, $signType)) { |
|
|
|
if (!$this->rsaCheckV2($data, $sign, $publicKey, $signType)) { |
|
|
|
throw new InvalidSignException('签名失败'); |
|
|
|
throw new InvalidSignException('签名失败'); |
|
|
|
} |
|
|
|
} |
|
|
|
$message['msg_method'] = $data['msg_method']; |
|
|
|
|
|
|
|
$message = json_decode($data['biz_content'], 1); |
|
|
|
$message = json_decode($data['biz_content'], 1); |
|
|
|
|
|
|
|
$message['msg_method'] = $data['msg_method']; |
|
|
|
// $message = $this->parseMessage($this->app['request']->getContent(false)); |
|
|
|
// $message = $this->parseMessage($this->app['request']->getContent(false)); |
|
|
|
// |
|
|
|
// |
|
|
|
// if (!is_array($message) || empty($message)) { |
|
|
|
// if (!is_array($message) || empty($message)) { |
|
|
|