1
This commit is contained in:
parent
f1bb528221
commit
335139bf5b
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user