api.js 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // 以下是业务服务器API地址
  2. // var WxApiRoot = 'http://127.0.0.1:19110/jzworkerapiservice/wxservant/';
  3. // uat环境使用
  4. var WxApiRoot = 'https://uat.servant.lifejingzhi.com/jzworkerapiservice/wxservant/';
  5. // 云平台上线时使用
  6. // var WxApiRoot = 'https://servant.lifejingzhi.com/jzworkerapiservice/wxservant/';
  7. module.exports = {
  8. AuthRegister: WxApiRoot + 'auth/login', //账号注册
  9. AuthLoginByWeixin: WxApiRoot + 'auth/login_by_weixin', //微信登录--并注册
  10. AuthLogout: WxApiRoot + 'auth/logout', //账号登出
  11. // AuthRegister: WxApiRoot + 'auth/register', //账号注册
  12. AuthBindPhone: WxApiRoot + 'auth/bindPhone', //绑定微信手机号
  13. AuthCaptcha: WxApiRoot + 'auth/regCaptcha',//短信验证码
  14. AuthLoginByCaptcha:WxApiRoot+'auth/loginByCaptcha',//验证码登录
  15. AuthGetShop:WxApiRoot+'auth/shop',//获取当前位置
  16. GoodsList:WxApiRoot+"goods/list",//商品列表
  17. GoodsShare:WxApiRoot+"goods/qrcode",//生成分享二维码
  18. BookDetailList:WxApiRoot+"book/list",//我的工单列表
  19. BookDetailProvice:WxApiRoot+"book/provide",//已提供服务 中间态
  20. BookHmList:WxApiRoot + 'book/bookList', //所有盒马服务工单列表
  21. BookHmTradeInfo:WxApiRoot + 'book/bookTradeInfo', //盒马服务单明细
  22. ServantOpenBill:WxApiRoot+"bill/list",//阿姨开单记录
  23. PreCategory:WxApiRoot+"pre/category",//品类预检
  24. PreSave:WxApiRoot+"pre/save",//品类预检保存
  25. PreList:WxApiRoot+"pre/list",//品类预检结果
  26. PreUpdate:WxApiRoot+"pre/update",//品类预检编辑
  27. StorageUpload: WxApiRoot + 'storage/addFile', //图片上传,
  28. PreDetail:WxApiRoot+"pre/detail",//品类预检编辑
  29. AuthCaptchaPre: WxApiRoot + 'pre/regCaptchaPre',//短信验证码 品类预检单
  30. diyPreSave:WxApiRoot+"pre/createPreView",//自定义品类预检保存POST /servant/pre/createPreView
  31. ProblemProblems:WxApiRoot + 'problem/problems', //获取所有问题
  32. ProblemInfo:WxApiRoot + 'problem/info', //获取问题
  33. ProblemAdd:WxApiRoot + 'problem/create', //创建工单
  34. ProblemList:WxApiRoot + 'problem/list', //所有工单列表
  35. ProblemUrge:WxApiRoot + 'problem/urge', //催办
  36. ProblemAction:WxApiRoot+ 'problem/action', //工单处理明细
  37. ProblemAddRemark:WxApiRoot+ 'problem/addRemark', //追加处理内容
  38. ProblemCancel:WxApiRoot+ 'problem/cancel', //取消报备
  39. ProblemReported:WxApiRoot+ 'problem/reported', //是否已经报备过
  40. ProblemComment:WxApiRoot+ 'problem/comment', //评价工单
  41. Board:WxApiRoot+'board/board',//看板汇总信息
  42. BoardSalary:WxApiRoot+'board/salary',//看板工资信息
  43. SalaryDetail:WxApiRoot+'board/salaryDetail',//总收入的每月明细
  44. ParterCashout:WxApiRoot+'parter/cashout',//提现申请
  45. ParterAuthCheck: WxApiRoot + 'parter/check', //是否实名
  46. ParterAuth: WxApiRoot + 'parter/auth', //是否实名
  47. ParterCashoutList: WxApiRoot + 'parter/cashoutList', //是否实名
  48. HmApiArrived:WxApiRoot+'book/arrivedByMerchant',//我已上门
  49. HmApiConfirm:WxApiRoot+'book/confirmBookTrade',//服务已完成
  50. HmPyamentOrderDetail:WxApiRoot+'hmPayment/detail',//盒马订单明细
  51. HmPyamentOrderAddMemo:WxApiRoot+'hmPayment/addMemo',//盒马订单--添加备注
  52. NewYearReport:WxApiRoot+'report',//返乡情况汇报
  53. NewYearReported:WxApiRoot+'reported',//是否已提交过
  54. // NucleicOCR:WxApiRoot+'nucleic/ocrImage',//截图识别
  55. NucleicOCR:WxApiRoot+'ocrImage',
  56. // NucleicList:WxApiRoot+'nucleic/list',//截图列表
  57. NucleicList:WxApiRoot+'getCalendar',//截图列表
  58. TicketList:WxApiRoot+'ticket/list',//crm工单列表
  59. TicketAction:WxApiRoot+ 'ticket/action', //工单处理明细
  60. TicketCompleted:WxApiRoot+ 'ticket/completed', //工单完结
  61. TicketHandle:WxApiRoot+ 'ticket/handle', //工单处理
  62. // ServantPerfectOCR:WxApiRoot+ 'perfect/ocr', //临时项目 服务者入职前的信息完善:身份证识别
  63. ServantPerfectOCR:WxApiRoot+ 'ocrIdCard',
  64. // ServantPerfect:WxApiRoot+ 'perfect/perfect', //完善信息保存
  65. ServantPerfect:WxApiRoot+ 'perfectWorkerInfo',
  66. ServantValid:WxApiRoot+ 'getWorkerInfoByPhone', //信息验证
  67. myRebuyInfo:WxApiRoot+ 'myRebuyInfo', //我的复购看板
  68. monthCalender:WxApiRoot+ 'monthCalender', //每月日历
  69. dayCalender:WxApiRoot+ 'dayCalender', //每月日历
  70. computerWorkerSchedule:WxApiRoot+ 'computerWorkerSchedule', //档期预估
  71. crmTicket:WxApiRoot+ 'crmTicket',//问题工单
  72. arrivedByMerchant:WxApiRoot+ 'arrivedByMerchant',//我已上门
  73. confirmBookTrade:WxApiRoot+ 'confirmBookTrade',//服务完成
  74. getNotice:WxApiRoot+ 'notice/getNotice',
  75. readNotice:WxApiRoot+ 'notice/readNotice',
  76. homeInfo:WxApiRoot+ 'board/home',
  77. inputSelf:WxApiRoot+ 'inputSelf'
  78. };