|
|
@@ -487,7 +487,7 @@ func (r *MQTTReporter) execOneCmd(msg mqtt.Message) {
|
|
|
case "reboot":
|
|
|
err := exec.Command("reboot").Run()
|
|
|
resp = buildResp(req, "Success", err)
|
|
|
- // Call-?:调用了目前不支持的方法, 返回未找到
|
|
|
+ // Call-?:无效, 客户端调用了目前不支持的方法
|
|
|
default:
|
|
|
resp = jsonrpc2.BuildError(req, jsonrpc2.ErrMethodNotFound, "")
|
|
|
}
|