Update ReceiveHandler.php

This commit is contained in:
Anyon 2019-07-15 16:59:20 +08:00
parent 114d755ecf
commit 605818ff1a

View File

@ -58,7 +58,8 @@ class ReceiveHandler
p($result);
if (is_array($json = json_decode($result, true))) {
p('===== 已返回xml加密内容 =====');
return $service->reply($json, true, true);
p($json);
return $service->reply($json, true, $service->isEncrypt());
} else {
p('===== 直接回复返回的内容 =====');
return $result;