This commit is contained in:
NAME
2026-05-13 02:30:00 +00:00
parent b4be37fbe7
commit 10d61d59be
3 changed files with 8 additions and 9 deletions
+3 -3
View File
@@ -1,19 +1,19 @@
import {Controller, Get, Post} from '@nestjs/common';
import {AppService} from './app.service';
import {XCookieAccountDto} from "./x-poster/dto/x-cookie-account.dto";
import {XBrowserService} from "./x-poster/x-browser.service";
import {XPosterRouterService} from "./x-poster/x-poster.router.service";
@Controller()
export class AppController {
constructor(
private readonly appService: AppService,
private readonly xBrowserService: XBrowserService,
private readonly xPosterRouterService: XPosterRouterService,
) {
}
@Get()
getHello() {
return this.xBrowserService.verifyCookie();
return this.xPosterRouterService.verifyCookie();
}
@Post('/set-x-cookies')