zhangwei
2025-08-15 7339b8a9ccf09e6262cb71ac6c9b724cdfa6fe22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
export type Result = {
  success: boolean;
  result: Array<any>;
  code: string | number;
  message: string;
};
type page = {
  items: Array<any>;
  total: number;
  pageSize: number;
  page: number;
};
export type PageResult = {
  success: boolean;
  result: page;
  code: string | number;
  message: string;
};
 
type captchaImg = {
  expirySeconds: number;
  message: string;
  img: string;
  id: string;
};
 
type getUploadToken = {
  policy: string;
  message: string;
  DirPath: string;
  id: string;
  x_oss_signature_version: string;
  x_oss_credential: string;
  x_oss_date: string;
  signature: string;
  security_token: string;
  url: string;
};
 
export type getUploadTokenResult = {
  success: boolean;
  result: getUploadToken;
  code: string | number;
};
 
export type CaptchaResult = {
  success: boolean;
  result: captchaImg;
  code: string | number;
};