接口请求

This commit is contained in:
2020-10-10 08:59:54 +08:00
parent 0f29972dee
commit 8bf7b662d5
4 changed files with 29 additions and 3 deletions

View File

@@ -21,8 +21,9 @@ export interface VideoInfo {
}
// 返回数据
export interface ResData{
export interface ResData<T = any>{
code?: number;
msg?: string;
data?: any;
}
data?: T;
}