ruoyi-plus-vben5/apps/backend-mock/src/modules/health/health.controller.ts
2024-06-30 14:09:44 +08:00

12 lines
207 B
TypeScript

import { Public } from '@/core/decorator';
import { Controller, Get } from '@nestjs/common';
@Controller()
export class HealthController {
@Public()
@Get()
getHeart(): string {
return 'ok';
}
}