change errcode for login expire
This commit is contained in:
parent
df085e9616
commit
2b36cc865c
@ -36,7 +36,7 @@ class WalletBridgeController extends BaseController {
|
||||
throw new ZError(13, 'login info mismatch')
|
||||
}
|
||||
if (data.status === 0 && data.expire < Date.now()) {
|
||||
throw new ZError(12, 'login expired')
|
||||
data.status = -1
|
||||
}
|
||||
return data
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user