소스 검색

优化修改注释

niujiuru 11 달 전
부모
커밋
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, "")
 	}