From 8557a39088027411e3e6955405c1ac268b44f409 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 18 八月 2020 13:34:43 +0800
Subject: [PATCH] log

---
 service/carService.go |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/service/carService.go b/service/carService.go
index 3c38030..f98f08b 100644
--- a/service/carService.go
+++ b/service/carService.go
@@ -252,13 +252,12 @@
 //1.鐩墠鏈夎璇嗗埆鐨勯棶棰橈紝浼氭妸D璇嗗埆鎴�0,D鍜�0涓嶅垎
 //2.姹夊瓧璇瘑鍒殑鍑犵巼姣旇緝楂�
 func isMyPlateNo(plateNoM map[string]string, targetPlateNo string) bool {
-
-	fmt.Println("targetPlateNO:", targetPlateNo)
-	for ip,_ := range plateNoM {
-		fmt.Println("my plateNos:", ip)
-	}
-
 	if targetPlateNo != "" {
+		var compArr []string
+		for ip,_ := range plateNoM {
+			compArr = append(compArr, ip)
+		}
+		fmt.Println("targetPlateNO:", targetPlateNo, "compArr:", compArr)
 		nctPlateNo := targetPlateNo[1:]
 		if _,exist := plateNoM[nctPlateNo];exist {
 			return true

--
Gitblit v1.8.0