; export const IActionDef = { stm: { send: ['unsent', 'sending'], success: ['sending', 'sent'], fail: ['sending', 'failure'], }, is: 'unsent', }; export const entityDesc = { locales: { zh_CN: { name: '验证码', attr: { origin: '源', content: '内容', code: '验证码', visitorId: '用户标识', reason: '失败原因', env: '用户环境', expired: '是否过期', expiresAt: '过期时间', iState: '状态', type: '类型', application: '应用', }, action: { send: '发送', fail: '失败', success: '成功', }, v: { iState: { unsent: '未发送', sending: '发送中', sent: '已发送', failure: '已失败', }, type: { login: '登录', changePassword: '修改密码', confirm: '校验', } }, }, }, indexes: [ { name: 'index_mobile_code', attributes: [ { name: 'content', direction: 'ASC', }, { name: 'code', direction: 'ASC', }, { name: '$$createAt$$', direction: 'DESC', } ], }, ], style: { icon: { send: '', success: '', fail: '', }, color: { iState: { unsent: '#0000FF', sending: '#FFA500', sent: '#008000', failure: '#A9A9A9' }, type: { login: '#0000FF', changePassword: '#FF0000', confirm: '#008000', } } } };