From 00fd1d5c7f05690264bf3cf6d44ebed81109a036 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期二, 20 八月 2019 19:20:39 +0800
Subject: [PATCH] add http:// to publicDomain

---
 controllers/cameraTask.go |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/controllers/cameraTask.go b/controllers/cameraTask.go
index 4066ceb..0e3b139 100644
--- a/controllers/cameraTask.go
+++ b/controllers/cameraTask.go
@@ -256,7 +256,11 @@
 	var api dbapi.CameraTaskApi
 	flag, data := api.UpdateCameraTaskStatus(paramVo.CameraId, paramVo.TaskId, paramVo.Status)
 	if flag {
-		util.ResponseFormat(c,code.Success,data)
+		if data.(string) == "姝や换鍔′负鍋滅敤鐘舵�侊紝璇峰湪浠诲姟绠$悊涓紑鍚紒"{
+			util.ResponseFormat(c,code.TaskStoped,data)
+		} else {
+			util.ResponseFormat(c,code.UpdateSuccess,data)
+		}
 	} else {
 		util.ResponseFormat(c,code.ComError,data)
 	}

--
Gitblit v1.8.0