1
This commit is contained in:
parent
98b0743778
commit
a2f52ca607
@ -103,6 +103,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
BC_POLY_POLY_TG = 5
|
||||||
BC_POLY_POLY_METAKASK = 13
|
BC_POLY_POLY_METAKASK = 13
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ 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_TG {
|
||||||
rspObj.ErrCode = 501
|
rspObj.ErrCode = 501
|
||||||
rspObj.ErrMsg = "not support this platform"
|
rspObj.ErrMsg = "not support this platform"
|
||||||
c.JSON(200, rspObj)
|
c.JSON(200, rspObj)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user