export type ResponseResult = T & { code: number; msg?: string; }; export type ResponseList = ResponseResult<{ total: number; rows: T[]; }>; export type ResponseData = ResponseResult<{ data: T; }>; export interface ResponseListParams { pageNum: number; pageSize: number; } export type ResponseListParamsWrapper = ResponseListParams & Partial; export type ResponseListParamsWrapperPartial = Partial; export type ListQuery = ResponseListParams | ResponseListParamsWrapper | ResponseListParamsWrapper | Partial;