feat: 封装下载hooks

This commit is contained in:
xlsea
2024-09-05 11:06:30 +08:00
parent 824974e904
commit 0c3ea2dc86
11 changed files with 222 additions and 19 deletions

View File

@ -28,4 +28,7 @@ declare namespace CommonType {
/** The id type */
type IdType = string | number;
/** The res error code */
type ErrorCode = '401' | '403' | '404' | 'default';
}