model.ts 714 B

123456789101112131415161718192021222324252627282930313233
  1. import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
  2. /**
  3. * @description: Request list interface parameters
  4. */
  5. export type PageParams = BasicPageParams;
  6. export interface MemberListItem {
  7. id: number;
  8. content: string;
  9. type: string;
  10. effectiveTime: string[];
  11. createTime: string;
  12. }
  13. export interface NoticeParams {
  14. id?: string;
  15. title: string;
  16. content: string;
  17. type: string;
  18. effectiveTime: string[];
  19. }
  20. export interface DelNoticeParams {
  21. id: string;
  22. }
  23. export interface UnreadModel {
  24. list: any[];
  25. totalCount: number;
  26. }
  27. /**
  28. * @description: Request list return value
  29. */
  30. export type ListGetResultModel = BasicFetchResult<MemberListItem>;