omnics / apps /server /src /app.controller.ts
OpenClaw AI
feat(ocr): implement screen recognition prototype with Tesseract.js and Electron IPC
7b7e57d
Raw History Blame Contribute Delete
498 Bytes
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
import { ApiTags, ApiOperation, ApiResponse } from '@nestjs/swagger';
@ApiTags('系统状态')
@Controller()
export class AppController {
constructor(private readonly appService: AppService) { }
@Get()
@ApiOperation({ summary: '健康检查' })
@ApiResponse({ status: 200, description: '系统运行正常' })
getHello(): object {
return this.appService.getHello();
}
}