This commit is contained in:
2021-03-23 18:30:02 +08:00
parent 189c09f71a
commit fedfb9b181
+1
View File
@@ -98,6 +98,7 @@ class Service extends Component
if (is_string($body) && is_null($body = Json::decode($body))) { if (is_string($body) && is_null($body = Json::decode($body))) {
throw new Exception('Protocol format error.'); throw new Exception('Protocol format error.');
} }
var_dump($body);
if (!isset($body['cmd'])) { if (!isset($body['cmd'])) {
throw new Exception('Unknown system cmd.'); throw new Exception('Unknown system cmd.');
} }