apiUrl.js 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 /employerRelation/updateEmployerRelation 雇主端-修改雇佣关系, 传 雇佣关系编号 保姆称呼 保姆工种
  13. const updateEmployerRelationPath=baseService+'/employerRelation/updateEmployerRelation';
  14. //POST /servantRelation/relationEmployer 保姆端关联雇主,传 保姆id,雇主称呼,识别码
  15. const relationEmployerPath=baseService+'/servantRelation/relationEmployer';
  16. //POST /servantRelation/updateEmployerName 保姆端-修改雇主称呼,传 employerName employRelationNo
  17. const updateEmployerNamePath=baseService+'/servantRelation/updateEmployerName';
  18. // servantRelation/getRelationInfo 获取雇佣关系详情(传雇佣关系编号)
  19. const getRelationInfoPath=baseService+'/servantRelation/getRelationInfo';
  20. // GET /servantlove/isChooseSubject 判断是否有阿姨偏好
  21. const isChooseSerHobSubjectPath=baseService+'/servantlove/isChooseSubject';
  22. // GET /servicestandard/isChooseSubject 判断是否有设置标准
  23. const isChooseSerStanSubjectPath=baseService+'/servicestandard/isChooseSubject';
  24. //GET /servantTask/selectTodayTaskItem 查询保姆当日任务前三条
  25. const selectTodayTaskItemPath=baseService+'/servantTask/selectTodayTaskItem';
  26. //查询每日任务
  27. const getDailyTaskList = baseService + "/taskItem/selectDayTaskItem";
  28. //完成编辑任务
  29. const completeEditDailyTask = baseService + "/taskItem/createDayTaskItem";
  30. //GET /notice/isSetServiceAndTask 雇主端通知:是否设置服务标准--->是否设置任务提醒
  31. const isSetServiceAndTaskPath=baseService+'/notice/isSetServiceAndTask';
  32. //post /employerRelation/updateEmploySetState 雇主端-设置雇佣之间第一次通知完成状态:0没有设置,1已设置完成,传EmployRelationNo和EmploySetState
  33. const updateEmploySetStatePath=baseService+'/employerRelation/updateEmploySetState';
  34. //POST /notice/getEmployerNotice 雇主端 工作站栏目通知,传 employRelationNo 和userId
  35. const getEmployerNoticePath=baseService+'/notice/getEmployerNotice';
  36. // POST /notice/getServantNotice 保姆端 工作站栏目通知,传 employRelationNo 和userId
  37. const getServantNoticePath=baseService+'/notice/getServantNotice';
  38. //POST /notice/userReadNotice 读取通知 传 雇佣关系编号,用户id,通知类型
  39. const userReadNoticePath=baseService+'/notice/userReadNotice';
  40. export default{
  41. registerUserPath,
  42. getUserInfoPath,
  43. findByEmployerIdListPath,
  44. findByServantIdListPath,
  45. createServantRelationPath,
  46. updateEmployerRelationPath,
  47. relationEmployerPath,
  48. updateEmployerNamePath,
  49. getRelationInfoPath,
  50. isChooseSerHobSubjectPath,
  51. isChooseSerStanSubjectPath,
  52. selectTodayTaskItemPath,
  53. getDailyTaskList,
  54. completeEditDailyTask,
  55. isSetServiceAndTaskPath,
  56. updateEmploySetStatePath,
  57. getEmployerNoticePath,
  58. getServantNoticePath,
  59. userReadNoticePath
  60. }