mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 17:48:13 +00:00
fix: should set field - demo-server
This commit is contained in:
parent
20c3b27c31
commit
6cfa0aa0f7
@ -7,6 +7,10 @@ import { GenerateProjectDto } from '../dto/generate-project.dto';
|
||||
export class ApiController {
|
||||
private readonly apiService: ApiService;
|
||||
|
||||
constructor(apiService: ApiService) {
|
||||
this.apiService = apiService;
|
||||
}
|
||||
|
||||
@Get('generate/test')
|
||||
generateTest() {
|
||||
return 'generate test';
|
||||
|
||||
@ -5,6 +5,10 @@ import { AppService } from './app.service';
|
||||
export class AppController {
|
||||
private readonly appService: AppService;
|
||||
|
||||
constructor(appService: AppService) {
|
||||
this.appService = appService;
|
||||
}
|
||||
|
||||
@Get()
|
||||
getHello(): string {
|
||||
return this.appService.getHello();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user