From 3d10cfe84bbaeece1fc8f8f7afcd4bd7a8ef6d5c Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 8 Nov 2023 14:13:44 +0800 Subject: [PATCH] update --- app/customer/hdl/hdl_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/customer/hdl/hdl_user.go b/app/customer/hdl/hdl_user.go index b47ab89..8216f17 100644 --- a/app/customer/hdl/hdl_user.go +++ b/app/customer/hdl/hdl_user.go @@ -51,7 +51,7 @@ func UserInfo(c *gin.Context) { now := time.Now() if v.Enterprise.Pvd == enum.EnterprisePvdForFaceScanPayment && v.Enterprise.Mode == enum.EnterpriseModeForSchool { fmt.Println(">>>>>platform:::", c.GetHeader("platform")) - if c.GetHeader("platform") != "wx_applet" { + if c.GetHeader("platform") == "wx_applet" { //TODO::微信小程序直接过滤 continue }