This commit is contained in:
aozhiwei 2024-08-18 16:25:53 +08:00
parent f1bb528221
commit 335139bf5b

View File

@ -158,13 +158,14 @@ func internalMetaMaskJwtAuth(c *gin.Context, jwtToken string) {
c.Abort() c.Abort()
return return
} }
/*
if jsonRspObj.Decoded.Plat != jccommon.BC_POLY_POLY_METAKASK { if jsonRspObj.Decoded.Plat != jccommon.BC_POLY_POLY_METAKASK {
rspObj.ErrCode = 501 rspObj.ErrCode = 501
rspObj.ErrMsg = "not summport platform" rspObj.ErrMsg = "not summport platform"
c.JSON(200, rspObj) c.JSON(200, rspObj)
c.Abort() c.Abort()
return return
} }*/
openId := fmt.Sprintf("%d_2006_%s", openId := fmt.Sprintf("%d_2006_%s",
jccommon.BC_CHANNEL, jccommon.BC_CHANNEL,
strings.ToLower(jsonRspObj.Decoded.OpenId)) strings.ToLower(jsonRspObj.Decoded.OpenId))