apiUrl.js 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. // POST /monthly/selectMonthlyReport 获取月报列表
  45. const selectMonthlyReportPath = baseService + "/monthly/selectMonthlyReport";
  46. //GET /monthly/selectMonthLyReportInfo 获取月报详细信息
  47. const selectMonthLyReportInfoPath = baseService + "/monthly/selectMonthLyReportInfo";
  48. //雇主的服务标准
  49. const employerServiceStandard = baseService + "/servicestandard/insertNewServiceStandards";
  50. //雇主端题目获取
  51. const getEmployerSubList = baseService + "/servicestandard/getSubjectWhenFirst";
  52. export default{
  53. registerUserPath,
  54. getUserInfoPath,
  55. findByEmployerIdListPath,
  56. findByServantIdListPath,
  57. createServantRelationPath,
  58. updateEmployerRelationPath,
  59. relationEmployerPath,
  60. updateEmployerNamePath,
  61. getRelationInfoPath,
  62. isChooseSerHobSubjectPath,
  63. isChooseSerStanSubjectPath,
  64. selectTodayTaskItemPath,
  65. getDailyTaskList,
  66. completeEditDailyTask,
  67. isSetServiceAndTaskPath,
  68. updateEmploySetStatePath,
  69. getEmployerNoticePath,
  70. getServantNoticePath,
  71. userReadNoticePath,
  72. customerDescribleInfo,
  73. servantDescribleInfo,
  74. selectMonthlyReportPath,
  75. selectMonthLyReportInfoPath,
  76. employerServiceStandard,
  77. getEmployerSubList
  78. }