fix(token): token signature error

This commit is contained in:
禾几海
2020-08-28 09:36:21 +08:00
parent 32e5c4daf0
commit 58655bed94
3 changed files with 20 additions and 12 deletions

View File

@@ -62,14 +62,14 @@ export class HttpService {
}
if (o.body.code !== 0) {
observer.error(o.body);
errorService.httpException(o.body)
errorService.httpException(o.body, request)
} else {
observer.next(o.body);
}
observer.complete();
},
error: err => {
errorService.httpError(err);
errorService.httpError(err,request);
errorService.checkConnection();
this.subscriptionQueue.splice(this.subscriptionQueue.indexOf(subscription), 1)
},