支持多语言英文

This commit is contained in:
whyour
2023-07-29 18:26:30 +08:00
parent 39bfd39559
commit e7d023a7e0
68 changed files with 2186 additions and 982 deletions
+5 -3
View File
@@ -39,12 +39,14 @@ export interface LoginLogInfo {
address?: string;
ip?: string;
platform?: string;
status?: LoginStatus,
status?: LoginStatus;
}
export type AuthModelInfo = SystemConfigInfo & Partial<NotificationInfo> & LoginLogInfo;
export type AuthModelInfo = SystemConfigInfo &
Partial<NotificationInfo> &
LoginLogInfo;
export interface AuthInstance extends Model<AuthInfo, AuthInfo>, AuthInfo { }
export interface AuthInstance extends Model<AuthInfo, AuthInfo>, AuthInfo {}
export const AuthModel = sequelize.define<AuthInstance>('Auth', {
ip: DataTypes.STRING,
type: DataTypes.STRING,
+1 -1
View File
@@ -66,7 +66,7 @@ export enum unInstallDependenceCommandTypes {
export interface DependenceInstance
extends Model<Dependence, Dependence>,
Dependence { }
Dependence {}
export const DependenceModel = sequelize.define<DependenceInstance>(
'Dependence',
{