From aa38814dac11fbd1c7c1c04cd57aaeaff1daa0f4 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期一, 27 七月 2020 16:58:54 +0800 Subject: [PATCH] add log --- service/userService.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/service/userService.go b/service/userService.go index b93ba6c..f3a7337 100644 --- a/service/userService.go +++ b/service/userService.go @@ -39,7 +39,7 @@ } } else { //鐢ㄦ埛宸插瓨鍦� var userCar models.UserCar - var plateNos []string + var plateNos = make([]string, 0) all, e := userCar.GetByUserId(tmpUser.Id) if e == nil && all != nil { for _,up := range all { -- Gitblit v1.8.0