| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- declare namespace COMMON {
- namespace API {
- interface QueryParams {
- page: number,
- pageSize: number
- start?: number
- end?: number,
- status?: boolean
- }
- interface Transport {
- name: TransportEnum,
- value: string
- }
- }
- namespace COMPONENTS {
- type ComType = 'input' | 'select' | 'datepick' | 'textarea'
- }
- namespace SYS {
- interface Conf {
- 'id': string,
- 'createAt': number,
- 'updateAt': null,
- 'deleted': false,
- 'sysLabel': string, // 系统名称
- 'sysIcon': string, // 系统图片,上传时候限制大小为3M 并且base64 编码
- 'sysTheme': string, // 系统主题
- 'tenantId': 'nil',
- 'mailConf': {
- 'host': string, // 邮件地址
- 'port': number, // 邮件端口
- 'protocol': string, // 邮件协议
- 'username': string, // 邮件账号
- 'password': string // 邮件密码
- }
- }
- }
- namespace LOGIN {
- interface Login {
- accout: string,
- password: string
- }
- }
- }
|