|
@@ -48,7 +48,11 @@ func UserInfo(c *gin.Context) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
now := time.Now() |
|
|
now := time.Now() |
|
|
if c.GetHeader("platform") != "wx_applet" && v.Enterprise.Pvd == enum.EnterprisePvdForFaceScanPayment && v.Enterprise.Mode == enum.EnterpriseModeForSchool { |
|
|
|
|
|
|
|
|
if v.Enterprise.Pvd == enum.EnterprisePvdForFaceScanPayment && v.Enterprise.Mode == enum.EnterpriseModeForSchool { |
|
|
|
|
|
if c.GetHeader("platform") != "wx_applet" { |
|
|
|
|
|
//TODO::微信小程序直接过滤 |
|
|
|
|
|
continue |
|
|
|
|
|
} |
|
|
if v.UserIdentity.Identity == enum.UserIdentityForSelfSupportForWorker { |
|
|
if v.UserIdentity.Identity == enum.UserIdentityForSelfSupportForWorker { |
|
|
//TODO::自营-工作人员 |
|
|
//TODO::自营-工作人员 |
|
|
selfSupportForUserFaceInfoDb := db.SelfSupportForUserFaceInfoDb{} |
|
|
selfSupportForUserFaceInfoDb := db.SelfSupportForUserFaceInfoDb{} |
|
|