Skip to content

Commit

Permalink
修正一处理赋值162415b
Browse files Browse the repository at this point in the history
  • Loading branch information
axguowen committed May 6, 2024
1 parent 9ed3a04 commit 21a5b54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wechat/contract/BasicPushEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public function __construct(array $options, $showEchoStr = true)
}
$this->receive = new DataArray(Tools::xml2arr($this->postxml));
} elseif ($_SERVER['REQUEST_METHOD'] == "GET" && $this->checkSignature()) {
$this->receive = new DataArray([]);
if ($showEchoStr && ob_clean()) {
echo($this->input->get('echostr'));
}
Expand Down

0 comments on commit 21a5b54

Please sign in to comment.