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 | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/service/userService.go b/service/userService.go index 855b156..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 { @@ -101,7 +101,6 @@ } func verifyCode(phoneNum string, cod string) bool { - return true if b,r := existCode(phoneNum);b && r == cod { return true } else { -- Gitblit v1.8.0