apiUrl1.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. let baseService = '/servantappletservice';
  2. // 新设置题目时获取题目
  3. const servantappletservicePath = baseService + '/servantlove/getSubjectWhenFirst';
  4. //新设置服务标准
  5. const insertNewservantappletservicePath = baseService + '/servantlove/insertNewServantLove';
  6. //设置每日任务
  7. const createDayTaskItem = baseService + '/taskItem/createDayTaskItem';
  8. //通过雇佣关系编号查询已选择每日任务
  9. const selectChooseDayTaskItem = baseService + '/taskItem/selectChooseDayTaskItem';
  10. //编辑每日任务
  11. const updateDayTaskItem = baseService + '/taskItem/updateDayTaskItem';
  12. //编辑时获取已选择的题目答案
  13. const getSubjectWhenEdit = baseService + '/servantlove/getSubjectWhenEdit';
  14. // 编辑阿姨偏好
  15. const updateServantLove = baseService + '/servantlove/updateServantLove';
  16. //GET /servantTask/selectTodayTaskItem 查询保姆当日任务
  17. const selectDayTaskItemPath = baseService + '/servantTask/selectDayTaskItem';
  18. // 添加保姆今日花销
  19. const insertDailyCostPath = baseService + '/servantTask/insertDailyCost';
  20. // 雇主段编辑阿姨偏好
  21. const updateEmployerLove = baseService + '/servicestandard/updateServiceStandards';
  22. //雇主端编辑时获取已选择的题目答案
  23. const getEmployerSubjectWhenEdit = baseService + '/servicestandard/getSubjectWhenEdit';
  24. // 保姆任务提交
  25. const servantTaskSubmitPath = baseService + '/servantTask/servantTaskSubmit';
  26. export default {
  27. servantappletservicePath,
  28. insertNewservantappletservicePath,
  29. createDayTaskItem,
  30. selectChooseDayTaskItem,
  31. getSubjectWhenEdit,
  32. selectDayTaskItemPath,
  33. updateServantLove,
  34. insertDailyCostPath,
  35. servantTaskSubmitPath,
  36. updateEmployerLove,
  37. getEmployerSubjectWhenEdit,
  38. updateDayTaskItem
  39. }