From 6af2a701448307a4ca2c04615e689e4105ee0a99 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 07 七月 2020 14:13:40 +0800 Subject: [PATCH] fix verify --- service/userService.go | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/service/userService.go b/service/userService.go index 855b156..b93ba6c 100644 --- a/service/userService.go +++ b/service/userService.go @@ -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