feat 多商户适配中

This commit is contained in:
DaxPay
2024-09-23 19:27:15 +08:00
parent 91945d4399
commit 2ba1318212
31 changed files with 6459 additions and 5406 deletions

18
types/axios.d.ts vendored
View File

@@ -2,19 +2,19 @@
* 通用响应类
*/
export interface Result<T = any> {
code: number;
type: 'success' | 'error' | 'warning';
msg: string;
traceId: string | null | undefined;
data: T;
code: number
type: 'success' | 'error' | 'warning'
msg: string
traceId: string | null | undefined
data: T
}
/**
* 分页响应类
*/
export interface PageResult<T = any> {
current: number;
records: Array<T>;
size: number;
total: number;
current: number
records: Array<T>
size: number
total: number
}