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

21 lines
1.1 KiB
TypeScript

import { Repository } from 'typeorm';
import { UserModel } from 'src/model/user.model';
import { AuthService } from 'src/app/common/service/auth.service';
import { CaptchaService } from 'src/app/common/service/captcha.service';
import { UserLogService } from '../../common/service/user_log.service';
export declare class ApiAuthService {
private authService;
private captchaService;
private userModel;
private userLogService;
constructor(authService: AuthService, captchaService: CaptchaService, userModel: Repository<UserModel>, userLogService: UserLogService);
login(phone: string, password: string, captchaKey?: string, captchaCode?: string): Promise<import("src/app/common/api").ApiResponseVo<null> | import("src/app/common/api").ApiResponseVo<{
token: string;
} | undefined>>;
createToken(payload: Buffer | object): Promise<string>;
register(phone: string, password: string, inviteCode: string, captchaKey: string, captchaCode: string): Promise<import("src/app/common/api").ApiResponseVo<null> | import("src/app/common/api").ApiResponseVo<{
token: string;
} | undefined>>;
private importUserAndJoinGroup;
}