Browse Source

12

add_mode
DengBiao 1 year ago
parent
commit
60fc723863
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      app/customer/hdl/self_support_for_school/hdl_faceCollection.go

+ 4
- 0
app/customer/hdl/self_support_for_school/hdl_faceCollection.go View File

@@ -297,6 +297,10 @@ func ConcentrateFacePassStudentConfirm(c *gin.Context) {
e.OutErr(c, e.ERR_DB_ORM, err.Error()) e.OutErr(c, e.ERR_DB_ORM, err.Error())
return return
} }
if identity == nil {
e.OutErr(c, e.ERR_NO_DATA, "当前用户身份信息未查询到")
return
}
selfSupportForUserFaceInfoDb := db.SelfSupportForUserFaceInfoDb{} selfSupportForUserFaceInfoDb := db.SelfSupportForUserFaceInfoDb{}
selfSupportForUserFaceInfoDb.Set(identity.Id) selfSupportForUserFaceInfoDb.Set(identity.Id)
info, err := selfSupportForUserFaceInfoDb.GetSelfSupportForUserFaceInfo() info, err := selfSupportForUserFaceInfoDb.GetSelfSupportForUserFaceInfo()


Loading…
Cancel
Save