Pārlūkot izejas kodu

update

add_mode
DengBiao pirms 1 gada
vecāks
revīzija
05d8ff01d6
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      app/customer/hdl/hdl_user.go

+ 2
- 0
app/customer/hdl/hdl_user.go Parādīt failu

@@ -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


Notiek ielāde…
Atcelt
Saglabāt