niujiuru 10 месяцев назад
Родитель
Сommit
ab5baf7b0c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      reporter/reporter.go

+ 1 - 1
reporter/reporter.go

@@ -477,7 +477,7 @@ func (r *MQTTReporter) execOneCmd(msg mqtt.Message) {
 	case "reboot":
 		err := exec.Command("reboot").Run()
 		resp = buildResp(req, "Success", err)
-	/// 调用了目前不支持的方法, 返回相应的错误信息
+	// Call-?:调用了目前不支持的方法, 返回未找到
 	default:
 		resp = jsonrpc2.BuildError(req, jsonrpc2.ErrMethodNotFound, "")
 	}