caseTagging.ts 420 B

1234567891011121314151617
  1. import { axios, caseTaggingList } from "@/request";
  2. export interface CaseTagging {
  3. hotIconId: number;
  4. hotIconUrl: string;
  5. getMethod: string;
  6. getUser: string;
  7. tagId: number;
  8. tagImgUrl: string;
  9. leaveBehind: string;
  10. tagDescribe: string;
  11. tagTitle: string;
  12. }
  13. export const getCaseTaggings = async (caseId: number) =>
  14. (await axios.get(caseTaggingList, { params: { caseId } }))
  15. .data as CaseTagging[];