1
This commit is contained in:
parent
87dd2018b5
commit
47c0f1aafc
@ -73,7 +73,7 @@ func (this *VIPApi) Bind(c *gin.Context) {
|
||||
info["account_address"] = ""
|
||||
service.JwtAuth.JwtAuthHandle(reqObj.Passport_jwt, &info)
|
||||
passport_addr := info["account_address"].(string)
|
||||
if passport_addr == "" {
|
||||
if passport_addr == "" || accountAddress == passport_addr {
|
||||
f5.RspErr(c, 1, "bad request passport")
|
||||
return
|
||||
}
|
||||
@ -138,4 +138,4 @@ func (this *VIPApi) Bind(c *gin.Context) {
|
||||
}
|
||||
|
||||
f5.RspErr(c, 0, "")
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user