api.js 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. // 以下是业务服务器API地址
  2. // var WxApiRoot = 'http://localhost:8081/douyinVerify/';
  3. var tenantId=1; //1鲸致 2 云嘉
  4. // uat环境使用
  5. var WxApiRoot = 'https://uat.jzmall.lifejingzhi.com/douyinVerify/';
  6. //新版,宅洁士
  7. // var WxApiRoot = 'https://mall.zhaijieshi.cc/douyinVerify/';
  8. // var appid='tt615f17e2fe62e59a01'//鲸致
  9. // var appid='ttf8798ec467461e4501'//云嘉旧
  10. var appid='ttba36cc8b2506c25f01'//云嘉新
  11. module.exports = {
  12. tenantId:tenantId,
  13. appid:appid,
  14. //登录并注册
  15. AuthLogout: WxApiRoot + 'auth/logout',
  16. //账号登出
  17. AuthRegister: WxApiRoot + 'auth/register',
  18. AddressList: WxApiRoot + 'address/list',
  19. //收货地址列表
  20. AddressDetail: WxApiRoot + 'address/detail',
  21. //收货地址详情
  22. AddressSave: WxApiRoot + 'address/save2',
  23. //保存收货地址
  24. AddressDelete: WxApiRoot + 'address/delete',
  25. //保存收货地址
  26. //收货check
  27. AddressChcek: WxApiRoot + 'address/check',
  28. // 订单的预支付会话
  29. OrderPrepay: WxApiRoot + 'order/prepay',
  30. //订单列表
  31. OrderList: WxApiRoot + 'order/list',
  32. //订单详情
  33. OrderDetail: WxApiRoot + 'order/detail',
  34. OrderGoodsInfo: WxApiRoot + 'order/orderGoodsInfo',
  35. //取消订单
  36. OrderCancel: WxApiRoot + 'order/cancel',
  37. //退款取消订单
  38. OrderRefund: WxApiRoot + 'order/refund',
  39. OrderDelete: WxApiRoot + 'order/delete',
  40. OrderPayCheck: WxApiRoot + 'order/payCheck',
  41. //订单列表里待支付
  42. OrderPayCheckCert: WxApiRoot + 'order/payCheckCert',
  43. //点击券列表时 使用
  44. AftersaleSubmit: WxApiRoot + 'aftersale/submit',
  45. // 提交售后申请
  46. AftersaleList: WxApiRoot + 'aftersale/list',
  47. // 售后列表
  48. AftersaleDetail: WxApiRoot + 'aftersale/detail',
  49. // 售后详情
  50. FeedbackAdd: WxApiRoot + 'feedback/submit',
  51. //添加反馈
  52. FootprintList: WxApiRoot + 'footprint/list',
  53. //足迹列表
  54. FootprintDelete: WxApiRoot + 'footprint/delete',
  55. //删除足迹
  56. StorageUpload: WxApiRoot + 'storage/upload',
  57. //图片上传,
  58. //进入小程序优惠券
  59. OrderAppoint: WxApiRoot + 'orderbook/estimate',
  60. // POST 预约服务人员结果预估
  61. ServiceDetail: WxApiRoot + 'orderbook/detail',
  62. //服务详情 预约单明细
  63. ServiceOrderBookV2: WxApiRoot + 'orderbook/bookV2',
  64. EveryDayStock: WxApiRoot + 'orderbook/everyDayStock',
  65. // 未预约的权益 重新预约
  66. GetAllCity: WxApiRoot + 'address/getAllCity',
  67. //退款金额
  68. AftersaleAmount: WxApiRoot + 'aftersale/preCheck',
  69. AftersaleRefundType: WxApiRoot + 'aftersale/refundType',
  70. //退款原因
  71. // 取消退款
  72. AftersaleCancel: WxApiRoot + 'aftersale/cancel',
  73. DouyinCouponList: WxApiRoot + 'coupon/list',
  74. // 撤销核销
  75. RevertVerify: WxApiRoot + 'coupon/revertVerify',
  76. // 售后投诉处理满意度
  77. TicketSatisfaction: WxApiRoot + 'ticket/satisfaction',
  78. gdUrl: 'https://restapi.amap.com/v3/geocode/regeo',
  79. gdCityUrl: 'https://restapi.amap.com/v3/geocode/geo',
  80. gdSearchUrl: 'https://restapi.amap.com/v3/assistant/inputtips',
  81. gdKey: 'ad9076a2b3efffaf7ff54c2ece9e92c1',
  82. getTradeOrderList: WxApiRoot + 'customerRerutnApi/getTradeOrderList',
  83. //工单详情,传bookDetailId
  84. getConsoultType: WxApiRoot + 'customerRerutnApi/getConsoultType',
  85. //企业回访数据
  86. saveVisit: WxApiRoot + 'customerRerutnApi/saveVisit',
  87. //提交企业回访数据
  88. everyDayTime: WxApiRoot + 'orderbook/everyDayTime' ,//预约时间
  89. OrderBookCancel:WxApiRoot + 'orderbook/cancelBook',//预约取消
  90. };