From 24f44f6ecefb5e83295bab670533529c6bc81810 Mon Sep 17 00:00:00 2001
From: qixiaoning <jony.kee@outlook.com>
Date: 星期五, 18 七月 2025 18:13:16 +0800
Subject: [PATCH] 本地调试

---
 camera-service/controllers/camera.go |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/camera-service/controllers/camera.go b/camera-service/controllers/camera.go
index 4f9c380..3effa9b 100644
--- a/camera-service/controllers/camera.go
+++ b/camera-service/controllers/camera.go
@@ -321,7 +321,7 @@
 	if sv.ChangeRunType(ccrVo) {
 		cIds := strings.Join(ccrVo.CameraIds, ",")
 		cc.addDbChangeMsg(h.Bk, protomsg.TableChanged_T_Camera, cIds, protomsg.DbAction_Update, "")
-		_, _ = service2.DoBusReq("/data/api-v/saas/syncCamera", config.Server.AnalyServerId, aiot.RequestMethod_Post, aiot.RequestContentType_ApplicationJson, map[string]interface{}{})
+		 _, _ = service2.DoBusReq("/data/api-v/saas/syncCamera", config.Server.AnalyServerId, aiot.RequestMethod_Post, aiot.RequestContentType_ApplicationJson, map[string]interface{}{})
 		return &bhomeclient.Reply{Success: true, Msg: "鏇存柊鎴愬姛"}
 	} else {
 		return &bhomeclient.Reply{Success: false, Msg: "鏇存柊澶辫触"}
@@ -1000,3 +1000,11 @@
 	_, _ = service2.DoBusReq("/data/api-v/saas/syncCamera", config.Server.AnalyServerId, aiot.RequestMethod_Post, aiot.RequestContentType_ApplicationJson, map[string]interface{}{})
 	return &bhomeclient.Reply{Success: true, Msg: "淇濆瓨鎴愬姛"}
 }
+
+/**
+ *  鏍规嵁瑙嗛id鑾峰彇浠诲姟
+ */
+func (cc CameraController) GetTaskById(h *bhomeclient.WrapperHandler, c *bhomeclient.Request) *bhomeclient.Reply {
+	tasks := "hello,world"
+	return &bhomeclient.Reply{Success: true, Msg: "鑾峰彇鎴愬姛", Data: tasks}
+}

--
Gitblit v1.8.0