api.js 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // 以下是业务服务器API地址
  2. //var WxApiRoot = 'http://127.0.0.1:8081/servant/';
  3. // uat环境使用
  4. var WxApiRoot = 'https://uat.jzmall.lifejingzhi.com/servant/';
  5. // 云平台上线时使用
  6. //var WxApiRoot = 'https://mall.zhaijieshi.cc/servant/';
  7. module.exports = {
  8. AuthLoginByWeixin: WxApiRoot + 'auth/login_by_weixin', //微信登录--并注册
  9. AuthLogout: WxApiRoot + 'auth/logout', //账号登出
  10. AuthRegister: WxApiRoot + 'auth/register', //账号注册
  11. AuthBindPhone: WxApiRoot + 'auth/bindPhone', //绑定微信手机号
  12. AuthCaptcha: WxApiRoot + 'auth/regCaptcha',//短信验证码
  13. AuthLoginByCaptcha:WxApiRoot+'auth/loginByCaptcha',//验证码登录
  14. AuthGetShop:WxApiRoot+'auth/shop',//获取当前位置
  15. GoodsList:WxApiRoot+"goods/list",//商品列表
  16. GoodsShare:WxApiRoot+"goods/qrcode",//生成分享二维码
  17. BookDetailList:WxApiRoot+"book/list",//我的工单列表
  18. BookDetailProvice:WxApiRoot+"book/provide",//已提供服务 中间态
  19. BookHmList:WxApiRoot + 'book/bookList', //所有盒马服务工单列表
  20. BookHmTradeInfo:WxApiRoot + 'book/bookTradeInfo', //盒马服务单明细
  21. ServantOpenBill:WxApiRoot+"bill/list",//阿姨开单记录
  22. PreCategory:WxApiRoot+"pre/category",//品类预检
  23. PreSave:WxApiRoot+"pre/save",//品类预检保存
  24. PreList:WxApiRoot+"pre/list",//品类预检结果
  25. PreUpdate:WxApiRoot+"pre/update",//品类预检编辑
  26. StorageUpload: WxApiRoot + 'storage/upload', //图片上传,
  27. PreDetail:WxApiRoot+"pre/detail",//品类预检编辑
  28. AuthCaptchaPre: WxApiRoot + 'pre/regCaptchaPre',//短信验证码 品类预检单
  29. diyPreSave:WxApiRoot+"pre/createPreView",//自定义品类预检保存POST /servant/pre/createPreView
  30. ProblemProblems:WxApiRoot + 'problem/problems', //获取所有问题
  31. ProblemInfo:WxApiRoot + 'problem/info', //获取问题
  32. ProblemAdd:WxApiRoot + 'problem/create', //创建工单
  33. ProblemList:WxApiRoot + 'problem/list', //所有工单列表
  34. ProblemUrge:WxApiRoot + 'problem/urge', //催办
  35. ProblemAction:WxApiRoot+ 'problem/action', //工单处理明细
  36. ProblemAddRemark:WxApiRoot+ 'problem/addRemark', //追加处理内容
  37. ProblemCancel:WxApiRoot+ 'problem/cancel', //取消报备
  38. ProblemReported:WxApiRoot+ 'problem/reported', //是否已经报备过
  39. ProblemComment:WxApiRoot+ 'problem/comment', //评价工单
  40. Board:WxApiRoot+'board/board',//看板汇总信息
  41. BoardSalary:WxApiRoot+'board/salary',//看板工资信息
  42. SalaryDetail:WxApiRoot+'board/salaryDetail',//总收入的每月明细
  43. ParterCashout:WxApiRoot+'parter/cashout',//提现申请
  44. ParterAuthCheck: WxApiRoot + 'parter/check', //是否实名
  45. ParterAuth: WxApiRoot + 'parter/auth', //是否实名
  46. ParterCashoutList: WxApiRoot + 'parter/cashoutList', //是否实名
  47. HmApiArrived:WxApiRoot+'book/arrivedByMerchant',//我已上门
  48. HmApiConfirm:WxApiRoot+'book/confirmBookTrade',//服务已完成
  49. NewYearReport:WxApiRoot+'newyear/report',//返乡情况汇报
  50. NewYearReported:WxApiRoot+'newyear/reported',//是否已提交过
  51. };