Files
energy_dist/dist/app/api/controller/auth.controller.d.ts
T
2026-04-21 22:34:39 +08:00

13 lines
612 B
TypeScript

import { ApiAuthService } from '../service/api-auth.service';
import { LoginDto, RegisterDto } from '../dto/auth.dto';
export declare class AuthController {
private readonly apiAuthService;
constructor(apiAuthService: ApiAuthService);
login(loginDto: LoginDto): Promise<import("src/app/common/api").ApiResponseVo<null> | import("src/app/common/api").ApiResponseVo<{
token: string;
} | undefined>>;
register(registerDto: RegisterDto): Promise<import("src/app/common/api").ApiResponseVo<null> | import("src/app/common/api").ApiResponseVo<{
token: string;
} | undefined>>;
}