diff --git a/apps/daxpay-admin/src/api/system/security.api.ts b/apps/daxpay-admin/src/api/system/security.api.ts index 78f7caba7..b855ef094 100644 --- a/apps/daxpay-admin/src/api/system/security.api.ts +++ b/apps/daxpay-admin/src/api/system/security.api.ts @@ -98,36 +98,9 @@ export const SecurityApi = { }, }; -/** - * 密码策略配置 - */ -export interface PasswordPolicyConfig { - /** 是否启用 */ - enabled?: boolean; - /** 最小长度 */ - minLength?: number; - /** 最大长度 */ - maxLength?: number; - /** 是否要求大写字母 */ - requireUppercase?: boolean; - /** 是否要求小写字母 */ - requireLowercase?: boolean; - /** 是否要求数字 */ - requireDigit?: boolean; - /** 是否要求特殊字符 */ - requireSpecialChar?: boolean; - /** 特殊字符集合 */ - specialChars?: string; - /** 密码轮换天数 */ - rotationDays?: number; - /** 历史密码检查数量 */ - historyCount?: number; -} +import type { PasswordPolicyConfig, PasswordPolicyValidateConfig } from '@daxpay/ui-biz/types/password-policy'; -/** - * 密码策略校验配置(供前端校验使用) - */ -export type PasswordPolicyValidateConfig = PasswordPolicyConfig; +export type { PasswordPolicyConfig, PasswordPolicyValidateConfig }; /** * 登录安全配置 diff --git a/apps/daxpay-admin/src/components/channel/ChannelMerchantSelect.vue b/apps/daxpay-admin/src/components/channel/ChannelMerchantSelect.vue index bc55686d6..f8a8c9ee2 100644 --- a/apps/daxpay-admin/src/components/channel/ChannelMerchantSelect.vue +++ b/apps/daxpay-admin/src/components/channel/ChannelMerchantSelect.vue @@ -1,94 +1,13 @@