apiUrl.js 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. let baseService='/servantappletservice';
  2. // 授权后注册
  3. const registerUserPath=baseService+'/auth/registerUser';
  4. // 获取用户信息/user/getUserInfo
  5. const getUserInfoPath=baseService+'/user/getUserInfo';
  6. // 雇主端--查询保姆列表,传雇主登录id到employerId
  7. const findByEmployerIdListPath=baseService+'/employerRelation/findByEmployerIdList';
  8. // POST /relation/findByServantIdList 保姆端--查询雇主列表,传保姆登录id到servantId
  9. const findByServantIdListPath=baseService+'/servantRelation/findByServantIdList';
  10. //雇主端创建服务者,传 雇主id 雇主身份 保姆称呼 保姆工种,周期对象的星期 /employerRelation/createServantRelation
  11. const createServantRelationPath=baseService+'/employerRelation/createServantRelation';
  12. //POST /servantRelation/relationEmployer 保姆端关联雇主,传 保姆id,雇主称呼,识别码
  13. const relationEmployerPath=baseService+'/servantRelation/relationEmployer';
  14. //POST /servantRelation/updateEmployerName 保姆端-修改雇主称呼,传 employerName employRelationNo
  15. const updateEmployerNamePath=baseService+'/servantRelation/updateEmployerName';
  16. // servantRelation/getRelationInfo 获取雇佣关系详情(传雇佣关系编号)
  17. const getRelationInfoPath=baseService+'/servantRelation/getRelationInfo';
  18. // GET /servantlove/isChooseSubject 判断是否有阿姨偏好
  19. const isChooseSerHobSubjectPath=baseService+'/servantlove/isChooseSubject';
  20. // GET /servicestandard/isChooseSubject 判断是否有设置标准
  21. const isChooseSerStanSubjectPath=baseService+'/servicestandard/isChooseSubject';
  22. //GET /servantTask/selectTodayTaskItem 查询保姆当日任务前三条
  23. const selectTodayTaskItemPath=baseService+'/servantTask/selectTodayTaskItem';
  24. //查询每日任务
  25. const getDailyTaskList = baseService + "/taskItem/selectDayTaskItem";
  26. //完成编辑任务
  27. const completeEditDailyTask = baseService + "/taskItem/createDayTaskItem";
  28. //GET /notice/isSetServiceAndTask 雇主端通知:是否设置服务标准--->是否设置任务提醒
  29. const isSetServiceAndTaskPath=baseService+'/notice/isSetServiceAndTask';
  30. //post /employerRelation/updateEmploySetState 雇主端-设置雇佣之间第一次通知完成状态:0没有设置,1已设置完成,传EmployRelationNo和EmploySetState
  31. const updateEmploySetStatePath=baseService+'/employerRelation/updateEmploySetState';
  32. export default{
  33. registerUserPath,
  34. getUserInfoPath,
  35. findByEmployerIdListPath,
  36. findByServantIdListPath,
  37. createServantRelationPath,
  38. relationEmployerPath,
  39. updateEmployerNamePath,
  40. getRelationInfoPath,
  41. isChooseSerHobSubjectPath,
  42. isChooseSerStanSubjectPath,
  43. selectTodayTaskItemPath,
  44. getDailyTaskList,
  45. completeEditDailyTask,
  46. isSetServiceAndTaskPath,
  47. updateEmploySetStatePath
  48. }