diff --git a/app/admin/svc/svc_login.go b/app/admin/svc/svc_login.go index cc62536..9b0f90e 100644 --- a/app/admin/svc/svc_login.go +++ b/app/admin/svc/svc_login.go @@ -13,7 +13,6 @@ func HandleLoginToken(cacheKey string, admin *model.Admin) (string, error) { token, err := cache.GetString(cacheKey) if err != nil { _ = logx.Error(err) - return "", err } // 没有获取到 if err != nil || token == "" { diff --git a/app/customer/hdl/self_support_for_school/hdl_faceCollection.go b/app/customer/hdl/self_support_for_school/hdl_faceCollection.go index feb283f..3ee2671 100644 --- a/app/customer/hdl/self_support_for_school/hdl_faceCollection.go +++ b/app/customer/hdl/self_support_for_school/hdl_faceCollection.go @@ -253,6 +253,7 @@ func ConcentrateFacePassStudentList(c *gin.Context) { } type ConcentrateFacePassStudentListResp struct { + UserIdentityId int `json:"user_identity_id" label:"身份id"` Name string `json:"name" label:"姓名"` IdNo string `json:"id_no" label:"身份证号码"` ConcentrateSchoolFacePassStatus int `json:"concentrate_school_face_pass_status" label:"校园一脸通行集采状态(1:待采集 2:待确认 3:已确认)"` @@ -260,6 +261,7 @@ func ConcentrateFacePassStudentList(c *gin.Context) { var resp []*ConcentrateFacePassStudentListResp for _, v := range m { resp = append(resp, &ConcentrateFacePassStudentListResp{ + UserIdentityId: v.UserIdentity.Id, Name: v.UserIdentity.Name, IdNo: v.UserIdentity.IdNo, ConcentrateSchoolFacePassStatus: v.SelfSupportForUserFaceInfo.ConcentrateSchoolFacePassStatus, diff --git a/app/customer/svc/svc_login.go b/app/customer/svc/svc_login.go index 510deca..23d2c38 100644 --- a/app/customer/svc/svc_login.go +++ b/app/customer/svc/svc_login.go @@ -13,7 +13,6 @@ func HandleLoginToken(cacheKey string, user *model.User) (string, error) { token, err := cache.GetString(cacheKey) if err != nil { _ = logx.Error(err) - return "", err } // 没有获取到 if err != nil || token == "" {