From 9f13dc7cb079f2a82c888df2f90717aa02f3fa68 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 28 七月 2020 15:55:30 +0800
Subject: [PATCH] fix photo to photoNum

---
 service/userService.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/service/userService.go b/service/userService.go
index e9ba427..5bd2303 100644
--- a/service/userService.go
+++ b/service/userService.go
@@ -30,7 +30,7 @@
 			hikPersonId := ""
 			if hikPersons != nil {
 				for _,hikP := range hikPersons {
-					if hikP.Phone == phoneNum {
+					if hikP.PhoneNo == phoneNum {
 						found = true
 						hikPersonId = hikP.PersonId
 					}

--
Gitblit v1.8.0