DengBiao 1 anno fa
parent
commit
05d8ff01d6
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      app/customer/hdl/hdl_user.go

+ 2
- 0
app/customer/hdl/hdl_user.go Vedi 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


Caricamento…
Annulla
Salva