This commit is contained in:
as2252258@163.com
2021-04-04 02:56:38 +08:00
parent 5849128b02
commit 59a8974672
+1 -1
View File
@@ -560,7 +560,7 @@ class Request extends HttpService
throw new Exception('Protocol format error.'); throw new Exception('Protocol format error.');
} }
if (!isset($data['cmd'])) { if (!isset($data['cmd']) || empty(!isset($data['cmd']))) {
throw new Exception('Unknown system cmd.'); throw new Exception('Unknown system cmd.');
} }