export const verifySchema = { key: 'users.verify', title: '身份认证', icon: 'fa fas fa-id-card', description: '设置通用身份认证的申请条件;用户提交资料后由管理员审核。', defaults: { user_auth_s: true, user_auth_apply_s: true, user_auth_apply_disable_desc: '由于系统正在维护,暂时无法申请身份认证\n详情请联系管理员', user_auth_apply_limit_level: 0, user_auth_apply_desc: '请填写认证身份、简介和申请说明,提交后由管理员审核。', }, groups: [ { key: 'apply', title: '认证申请', icon: 'fa fas fa-edit', fields: [ { key: 'user_auth_s', label: '启用身份认证', type: 'switch', default: true }, { key: 'user_auth_apply_s', label: '允许用户前台申请', type: 'switch', default: true, dependsOn: { key: 'user_auth_s', value: true }, }, { key: 'user_auth_apply_disable_desc', label: '停用申请说明', type: 'textarea', default: '由于系统正在维护,暂时无法申请身份认证\n详情请联系管理员', dependsOn: { key: 'user_auth_apply_s', value: false }, }, { key: 'user_auth_apply_limit_level', label: '申请最低用户等级', type: 'number', default: 0, min: 0, max: 30, help: '设置为 0 时不限制用户等级。', dependsOn: { key: 'user_auth_apply_s', value: true }, }, { key: 'user_auth_apply_desc', label: '申请介绍', type: 'textarea', sanitize_type: 'html', default: '请填写认证身份、简介和申请说明,提交后由管理员审核。', dependsOn: { key: 'user_auth_apply_s', value: true }, }, ], }, ], }