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