apiUrl.js 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. //雇主保姆偏好的详情info
  41. const customerDescribleInfo = baseService + "/servantlove/getStandardsDescribe"
  42. //保姆端的偏好描述
  43. const servantDescribleInfo = baseService + "/servicestandard/getStandardsDescribe";
  44. export default{
  45. registerUserPath,
  46. getUserInfoPath,
  47. findByEmployerIdListPath,
  48. findByServantIdListPath,
  49. createServantRelationPath,
  50. updateEmployerRelationPath,
  51. relationEmployerPath,
  52. updateEmployerNamePath,
  53. getRelationInfoPath,
  54. isChooseSerHobSubjectPath,
  55. isChooseSerStanSubjectPath,
  56. selectTodayTaskItemPath,
  57. getDailyTaskList,
  58. completeEditDailyTask,
  59. isSetServiceAndTaskPath,
  60. updateEmploySetStatePath,
  61. getEmployerNoticePath,
  62. getServantNoticePath,
  63. userReadNoticePath,
  64. customerDescribleInfo,
  65. servantDescribleInfo
  66. }