This commit is contained in:
NAME
2026-05-12 08:42:26 +00:00
parent a3decd63de
commit f62a71aede
3 changed files with 27 additions and 1 deletions
+2
View File
@@ -61,6 +61,7 @@ export class XPosterRouterService {
}
async verifyCookie(): Promise<any> {
console.debug('==> Verify Cookie');
// const isAlive = await this.cookieSvc.verifyCookie();
const isAlive = await this.browserSvc.verifyCookie();
if (!isAlive) {
@@ -68,6 +69,7 @@ export class XPosterRouterService {
await this.notifyService.sendUrgentMessageToTele('Cookie đã hết hạn vui lòng cập nhập để sử dụng.')
}
await this.xCacheService.setStateXCookiesIsSillALive();
await this.notifyService.sendMessageToTele('Verify cookie pass')
}
async canUseXCookies(): Promise<boolean> {