Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
3d10cfe84b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/customer/hdl/hdl_user.go

+ 1
- 1
app/customer/hdl/hdl_user.go View File

@@ -51,7 +51,7 @@ func UserInfo(c *gin.Context) {
now := time.Now() now := time.Now()
if v.Enterprise.Pvd == enum.EnterprisePvdForFaceScanPayment && v.Enterprise.Mode == enum.EnterpriseModeForSchool { if v.Enterprise.Pvd == enum.EnterprisePvdForFaceScanPayment && v.Enterprise.Mode == enum.EnterpriseModeForSchool {
fmt.Println(">>>>>platform:::", c.GetHeader("platform")) fmt.Println(">>>>>platform:::", c.GetHeader("platform"))
if c.GetHeader("platform") != "wx_applet" {
if c.GetHeader("platform") == "wx_applet" {
//TODO::微信小程序直接过滤 //TODO::微信小程序直接过滤
continue continue
} }


Loading…
Cancel
Save