Files
vue-modules/src/api/interface/result.ts
2025-08-15 17:08:50 +08:00

13 lines
264 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 请求响应参数不包含data
export interface Result {
isSuccess: boolean;
message: string;
status: number;
}
// 请求响应参数包含data
export interface ResultData<T = any> extends Result {
[x: string]: any;
data: T;
}