mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Unified API response json schema (#3170)
### What problem does this PR solve? Unified API response json schema ### Type of change - [x] Refactoring
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
export interface ResponseType<T = any> {
|
||||
retcode: number;
|
||||
code: number;
|
||||
data: T;
|
||||
retmsg: string;
|
||||
message: string;
|
||||
status: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user