改名
This commit is contained in:
@@ -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.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user