mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-12 08:08:46 +08:00
feat:版本迭代
This commit is contained in:
@@ -5,9 +5,6 @@ export interface ShareInfo {
|
||||
}
|
||||
|
||||
export interface ShareInfoResponse {
|
||||
success: boolean;
|
||||
data?: {
|
||||
list: ShareInfo[];
|
||||
};
|
||||
error?: string;
|
||||
data?: ShareInfo[];
|
||||
message?: string;
|
||||
}
|
||||
|
||||
10
backend/src/types/express.ts
Normal file
10
backend/src/types/express.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Request } from "express";
|
||||
|
||||
declare module "express" {
|
||||
interface Request {
|
||||
user?: {
|
||||
userId: string;
|
||||
role: number;
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user