model.ts 779 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
  2. /**
  3. * @description: Request list interface parameters
  4. */
  5. export type PageParams = BasicPageParams;
  6. export interface ListItem {
  7. id: number;
  8. content: string;
  9. createTime: string;
  10. image: string;
  11. orderNum: number;
  12. title: string;
  13. url: string;
  14. }
  15. export interface UpdateItem {
  16. content: string;
  17. id: number;
  18. image: string;
  19. orderNum: number;
  20. title: string;
  21. url?: string;
  22. }
  23. export interface PadsItem {
  24. connectId: number;
  25. type: number;
  26. id: number;
  27. image: string;
  28. orderNum: string;
  29. title: string;
  30. url?: string;
  31. }
  32. export interface DeleteItem {
  33. id: number;
  34. }
  35. /**
  36. * @description: Request list return value
  37. */
  38. export type ListGetResultModel = BasicFetchResult<ListItem>;