Files
dax-pay-ui/types/store.d.ts
DaxPay 73ce82fa4e feat(daxpay): 支持支付宝和微信特约商户
- 新增支付宝和微信特约商户相关的配置项和功能
- 更新了相应的API接口和UI界面以支持特约商户功能
-优化了部分现有功能,如支付限额和证书上传等
2025-01-03 10:25:37 +08:00

71 lines
1.2 KiB
TypeScript

import { ErrorTypeEnum } from '@/enums/exceptionEnum'
import { MenuModeEnum, MenuTypeEnum } from '@/enums/menuEnum'
export interface ApiAddress {
key: string
val: string
}
// Error-log information
export interface ErrorLogInfo {
// Type of error
type: ErrorTypeEnum
// Error file
file: string
// Error name
name?: string
// Error message
message: string
// Error stack
stack?: string
// Error detail
detail: string
// Error url
url: string
// Error time
time?: string
}
export interface UserInfo {
// 用户id
userId: number
// 名称
name: string
// 账号
account: string
// 头像图片url
avatar: string
}
export interface BeforeMiniState {
menuCollapsed?: boolean
menuSplit?: boolean
menuMode?: MenuModeEnum
menuType?: MenuTypeEnum
}
export interface TableSetting {
size: Nullable<SizeType>
showIndexColumn: Recordable<Nullable<boolean>>
columns: Recordable<Nullable<Array<ColumnOptionsType>>>
showRowSelection: Recordable<Nullable<boolean>>
}
/**
* 字典
*/
export interface Dict {
dictCode: string
code: string
name: string
}
/**
* 存储平台
*/
export interface FilePlatform {
type: string
url: string
defaultPlatform: boolean
}