api.js 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. // 以下是业务服务器API地址
  2. // var WxApiRoot = 'http://127.0.0.1:8081/wx/';
  3. // uat环境使用
  4. // var WxApiRoot = 'https://uat.jzmall.lifejingzhi.com/wx/';
  5. // 云平台上线时使用
  6. var WxApiRoot = 'https://jzmall.lifejingzhi.com/wx/';
  7. module.exports = {
  8. IndexUrl: WxApiRoot + 'home/index', //首页数据接口
  9. AboutUrl: WxApiRoot + 'home/about', //介绍信息
  10. CatalogList: WxApiRoot + 'catalog/index', //分类目录全部分类数据接口
  11. CatalogCurrent: WxApiRoot + 'catalog/current', //分类目录当前分类数据接口
  12. AuthLoginByWeixin: WxApiRoot + 'auth/login_by_weixin', //微信登录--并注册
  13. AuthLogout: WxApiRoot + 'auth/logout', //账号登出
  14. AuthRegister: WxApiRoot + 'auth/register', //账号注册
  15. AuthReset: WxApiRoot + 'auth/reset', //账号密码重置
  16. AuthBindPhone: WxApiRoot + 'auth/bindPhone', //绑定微信手机号
  17. AuthDenPhone: WxApiRoot + 'auth/denPhone', //微信手机号解密
  18. AuthCert:WxApiRoot + 'auth/certification',//实名认证
  19. AuthIsCert:WxApiRoot + 'auth/iscertification',//是否实名认证
  20. GoodsCount: WxApiRoot + 'goods/count', //统计商品总数
  21. GoodsList: WxApiRoot + 'goods/list', //获得商品列表
  22. GoodsList_a2: WxApiRoot + 'goods/list_a2', //获得商品列表
  23. GoodsCategory: WxApiRoot + 'goods/category', //获得分类数据
  24. GoodsDetail: WxApiRoot + 'goods/detail', //获得商品的详情
  25. GoodsRelated: WxApiRoot + 'goods/related', //商品详情页的关联商品(大家都在看)
  26. GoodsL1Category:WxApiRoot+'goods/categoryGoods',//类目下所有商品
  27. BrandList: WxApiRoot + 'brand/list', //品牌列表
  28. BrandDetail: WxApiRoot + 'brand/detail', //品牌详情
  29. CartList: WxApiRoot + 'cart/index', //获取购物车的数据
  30. CartAdd: WxApiRoot + 'cart/add', // 添加商品到购物车
  31. CartFastAdd: WxApiRoot + 'cart/fastadd', // 立即购买商品
  32. CartUpdate: WxApiRoot + 'cart/update', // 更新购物车的商品
  33. CartDelete: WxApiRoot + 'cart/delete', // 删除购物车的商品
  34. CartChecked: WxApiRoot + 'cart/checked', // 选择或取消选择商品
  35. CartGoodsCount: WxApiRoot + 'cart/goodscount', // 获取购物车商品件数
  36. CartCheckout: WxApiRoot + 'cart/checkout', // 下单前信息确认
  37. CollectList: WxApiRoot + 'collect/list', //收藏列表
  38. CollectAddOrDelete: WxApiRoot + 'collect/addordelete', //添加或取消收藏
  39. CommentList: WxApiRoot + 'comment/list', //评论列表
  40. CommentCount: WxApiRoot + 'comment/count', //评论总数
  41. CommentPost: WxApiRoot + 'comment/post', //发表评论
  42. TopicList: WxApiRoot + 'topic/list', //专题列表
  43. TopicDetail: WxApiRoot + 'topic/detail', //专题详情
  44. TopicRelated: WxApiRoot + 'topic/related', //相关专题
  45. SearchIndex: WxApiRoot + 'search/index', //搜索关键字
  46. SearchResult: WxApiRoot + 'search/result', //搜索结果
  47. SearchHelper: WxApiRoot + 'search/helper', //搜索帮助
  48. SearchClearHistory: WxApiRoot + 'search/clearhistory', //搜索历史清楚
  49. AddressList: WxApiRoot + 'address/list', //收货地址列表
  50. AddressDetail: WxApiRoot + 'address/detail', //收货地址详情
  51. AddressSave: WxApiRoot + 'address/save', //保存收货地址
  52. AddressDelete: WxApiRoot + 'address/delete', //保存收货地址
  53. ExpressQuery: WxApiRoot + 'express/query', //物流查询
  54. RegionList: WxApiRoot + 'region/list', //获取区域列表
  55. OrderSubmit: WxApiRoot + 'order/submit', // 提交订单
  56. OrderPrepay: WxApiRoot + 'order/prepay', // 订单的预支付会话
  57. OrderList: WxApiRoot + 'order/list', //订单列表
  58. OrderDetail: WxApiRoot + 'order/detail', //订单详情
  59. OrderCancel: WxApiRoot + 'order/cancel', //取消订单
  60. OrderRefund: WxApiRoot + 'order/refund', //退款取消订单
  61. OrderDelete: WxApiRoot + 'order/delete', //删除订单
  62. OrderConfirm: WxApiRoot + 'order/confirm', //确认收货
  63. OrderGoods: WxApiRoot + 'order/goods', // 代评价商品信息
  64. OrderComment: WxApiRoot + 'order/comment', // 评价订单商品信息
  65. OrderCheck:WxApiRoot+ 'order/check',
  66. OrderEdit:WxApiRoot+ 'order/edit',
  67. AftersaleSubmit: WxApiRoot + 'aftersale/submit', // 提交售后申请
  68. AftersaleList: WxApiRoot + 'aftersale/list', // 售后列表
  69. AftersaleDetail: WxApiRoot + 'aftersale/detail', // 售后详情
  70. FeedbackAdd: WxApiRoot + 'feedback/submit', //添加反馈
  71. FootprintList: WxApiRoot + 'footprint/list', //足迹列表
  72. FootprintDelete: WxApiRoot + 'footprint/delete', //删除足迹
  73. GroupOnList: WxApiRoot + 'groupon/list', //团购列表
  74. GroupOnMy: WxApiRoot + 'groupon/my', //团购API-我的团购
  75. GroupOnDetail: WxApiRoot + 'groupon/detail', //团购API-详情
  76. GroupOnJoin: WxApiRoot + 'groupon/join', //团购API-详情
  77. CouponList: WxApiRoot + 'coupon/list', //优惠券列表
  78. CouponMyList: WxApiRoot + 'coupon/mylist', //我的优惠券列表
  79. CouponSelectList: WxApiRoot + 'coupon/selectlist', //当前订单可用优惠券列表
  80. CouponReceive: WxApiRoot + 'coupon/receive', //优惠券领取
  81. CouponExchange: WxApiRoot + 'coupon/exchange', //优惠券兑换
  82. StorageUpload: WxApiRoot + 'storage/upload', //图片上传,
  83. UserIndex: WxApiRoot + 'user/index', //个人页面用户相关信息
  84. IssueList: WxApiRoot + 'issue/list', //帮助信息
  85. QrCodeCreate:WxApiRoot+'qrcode/create',//普通二维码生成
  86. QrStarCodeCreate:WxApiRoot+'qrcode/createstar',//专属二维码
  87. QrGoodsCodeCreate:WxApiRoot+'qrcode/createshare',//商品分享链接 会员和普通用于一致 在分享用户注册时区分
  88. DisCommission:WxApiRoot+'commission/detail',//分佣总表
  89. DisCommissionChildUser:WxApiRoot+'commission/childuser',
  90. DisCommissionDetail:WxApiRoot+'commission/detailList',//已支付订单明细
  91. DisCommissionWaitDetail:WxApiRoot+'commission/detailWaitPayList',//未支付订单明细
  92. DisCashoutList:WxApiRoot+'commission/cashoutlist',//提现明细
  93. DisCashoutApply:WxApiRoot+'commission/cashoutapply',//提现申请
  94. JoinApply:WxApiRoot+'commission/joinapply',//加入申请
  95. JoinApplyList:WxApiRoot+'commission/joinlist',//申请历史
  96. DisCommissionSign:WxApiRoot+ "commission/sign",//签名
  97. PetIndex:WxApiRoot+"pet/index",//获取宠物保险所有拼音
  98. PetBreed:WxApiRoot+"pet/breed",//获取宠物品类
  99. OrderBookGetShop:WxApiRoot+"orderbook/getShop",//根据经纬度获取门店
  100. OrderCheckAddress:WxApiRoot+"orderbook/checkAddress",//收货地址校验
  101. OrderBookDefaultAddress:WxApiRoot+"address/default",//获取默认用户地址
  102. getDefaultCityShop: WxApiRoot + 'address/getDefaultCityShop', //小程序默认系统地址
  103. ActivityOngoing:WxApiRoot+"assistance/ongoing",//当前存在的助力活动
  104. ActivityList:WxApiRoot+"assistance/list",//助力活动历史-我发起的
  105. ActivityParticipate:WxApiRoot+"assistance/participate",//助力活动历史-我参与的
  106. ActivityDetail:WxApiRoot+"assistance/detail",//助力活动明细
  107. ActivityCreate:WxApiRoot+"assistance/create",//创建助力活动
  108. CouponRegister:WxApiRoot+"coupon/register",//进入小程序优惠券
  109. OrderAppoint: WxApiRoot + 'orderbook/estimate', // POST 预约服务人员结果预估
  110. ServiceDetail: WxApiRoot + 'orderbook/detail', //服务详情 预约单明细
  111. ServiceOrderBook: WxApiRoot + 'orderbook/book', // 未预约的权益 重新预约
  112. GetAllCity:WxApiRoot + 'address/getAllCity', //获取系统城市
  113. ReferrerRidInfo:WxApiRoot + 'commission/referrerRidInfo', //根据分享的rid查询信息
  114. RefBcodeInfo:WxApiRoot + 'commission/refBcodeInfo', //根据输入的引荐码查询信息
  115. GetDenPhone:WxApiRoot + 'auth/getDenPhone', //获取手机号
  116. RegisterReferrer:WxApiRoot + 'auth/registerReferrer', //引荐人注册提交
  117. addClue:WxApiRoot + 'customerClue/addClue', //信息收集
  118. getServantList:WxApiRoot + 'companyServant/getServantList', //保姆列表
  119. servantResume:WxApiRoot + 'companyServant/servantResume', //查询保姆简历详情
  120. };