Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
05d8ff01d6
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/customer/hdl/hdl_user.go

+ 2
- 0
app/customer/hdl/hdl_user.go View File

@@ -8,6 +8,7 @@ import (
"applet/app/e"
"applet/app/enum"
"applet/app/utils"
"fmt"
"github.com/gin-gonic/gin"
"time"
)
@@ -49,6 +50,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" {
//TODO::微信小程序直接过滤
continue


Loading…
Cancel
Save