list.ts 724 B

123456789101112131415161718192021222324252627282930
  1. import { handle } from '../../index'
  2. const suffix = 'api'
  3. // 查询所有分类
  4. export const frontGetAllSysLabelsForQd = () => handle({
  5. url: `/${suffix}/front/getAllSysLabelsForQd`,
  6. method: 'get',
  7. })
  8. // 根据索引id获取索引信息级索引字段信息
  9. export const frontGetIndexAndFieldInfo = (params: any) => handle({
  10. url: `/${suffix}/front/getIndexAndFieldInfo`,
  11. method: 'get',
  12. params
  13. })
  14. // 搜索记录
  15. export const searchLogsGetKeyWordByUserId = (params: any) => handle({
  16. url: `/${suffix}/search-logs/getKeyWordByUserId`,
  17. method: 'get',
  18. params
  19. })
  20. // 档案主题
  21. export const frontGetThemeByThemeId = (id: any) => handle({
  22. url: `/${suffix}/front/getThemeByThemeId/${id}`,
  23. method: 'get',
  24. })