|
@@ -1,35 +1,35 @@
|
|
|
-// 以下是业务服务器API地址
|
|
|
-// var WxApiRoot = 'http://127.0.0.1:8081/wx/';
|
|
|
+// 以下是业务服务器API地址
|
|
|
+// var WxApiRoot = 'http://127.0.0.1:8081/wx/';
|
|
|
// uat环境使用
|
|
|
-// var WxApiRoot = 'https://uat.jzmall.lifejingzhi.com/wx/';
|
|
|
-
|
|
|
-//新版,宅洁士
|
|
|
-var WxApiRoot='https://mall.zhaijieshi.cc/wx/';
|
|
|
-
|
|
|
-
|
|
|
+// var WxApiRoot = 'https://uat.jzmall.lifejingzhi.com/wx/';
|
|
|
+
|
|
|
+//新版,宅洁士
|
|
|
+var WxApiRoot='https://mall.zhaijieshi.cc/wx/';
|
|
|
+
|
|
|
+
|
|
|
module.exports = {
|
|
|
IndexUrl: WxApiRoot + 'home/index', //首页数据接口
|
|
|
AboutUrl: WxApiRoot + 'home/about', //介绍信息
|
|
|
-
|
|
|
+
|
|
|
CatalogList: WxApiRoot + 'catalog/index', //分类目录全部分类数据接口
|
|
|
CatalogCurrent: WxApiRoot + 'catalog/current', //分类目录当前分类数据接口
|
|
|
|
|
|
- AuthLoginByWeixin: WxApiRoot + 'auth/login_by_weixin', //微信登录--并注册
|
|
|
+ AuthLoginByWeixin: WxApiRoot + 'auth/login_by_weixin', //微信登录--并注册
|
|
|
AuthLogout: WxApiRoot + 'auth/logout', //账号登出
|
|
|
AuthRegister: WxApiRoot + 'auth/register', //账号注册
|
|
|
- AuthReset: WxApiRoot + 'auth/reset', //账号密码重置
|
|
|
+ AuthReset: WxApiRoot + 'auth/reset', //账号密码重置
|
|
|
AuthBindPhone: WxApiRoot + 'auth/bindPhone', //绑定微信手机号
|
|
|
AuthDenPhone: WxApiRoot + 'auth/denPhone', //微信手机号解密
|
|
|
AuthCert:WxApiRoot + 'auth/certification',//实名认证
|
|
|
AuthIsCert:WxApiRoot + 'auth/iscertification',//是否实名认证
|
|
|
AuthInfo:WxApiRoot + 'auth/info',//拿手机
|
|
|
-
|
|
|
+
|
|
|
GoodsCount: WxApiRoot + 'goods/count', //统计商品总数
|
|
|
GoodsList: WxApiRoot + 'goods/list', //获得商品列表
|
|
|
GoodsList_a2: WxApiRoot + 'goods/list_a2', //获得商品列表
|
|
|
GoodsCategory: WxApiRoot + 'goods/category', //获得分类数据
|
|
|
GoodsDetail: WxApiRoot + 'goods/detail', //获得商品的详情
|
|
|
- GoodsRelated: WxApiRoot + 'goods/related', //商品详情页的关联商品(大家都在看)
|
|
|
+ GoodsRelated: WxApiRoot + 'goods/related', //商品详情页的关联商品(大家都在看)
|
|
|
GoodsL1Category:WxApiRoot+'goods/categoryGoods',//类目下所有商品
|
|
|
GoodsCoupon:WxApiRoot+'goods/couponGoods',//返回优惠券绑定的商品
|
|
|
|
|
@@ -127,9 +127,9 @@ module.exports = {
|
|
|
PetIndex:WxApiRoot+"pet/index",//获取宠物保险所有拼音
|
|
|
PetBreed:WxApiRoot+"pet/breed",//获取宠物品类
|
|
|
|
|
|
- OrderBookGetShop:WxApiRoot+"orderbook/getShop",//根据经纬度获取门店
|
|
|
+ OrderBookGetShop:WxApiRoot+"orderbook/getShop",//根据经纬度获取门店
|
|
|
OrderCheckAddress:WxApiRoot+"orderbook/checkAddress",//收货地址校验
|
|
|
- OrderBookDefaultAddress:WxApiRoot+"address/default",//获取默认用户地址
|
|
|
+ OrderBookDefaultAddress:WxApiRoot+"address/default",//获取默认用户地址
|
|
|
getDefaultCityShop: WxApiRoot + 'address/getDefaultCityShop', //小程序默认系统地址
|
|
|
|
|
|
ActivityOngoing:WxApiRoot+"assistance/ongoing",//当前存在的助力活动
|
|
@@ -158,7 +158,7 @@ module.exports = {
|
|
|
prepayMember:WxApiRoot + 'member/prepayMember', //POST 准备购买会员,提交给微信生成订单
|
|
|
payMemberNotify:WxApiRoot + 'member/payMember-notify', //微信支付通知 POST
|
|
|
|
|
|
-
|
|
|
+
|
|
|
RefBcodeInfo:WxApiRoot + 'referee/refBcodeInfo', //根据输入的引荐码查询信息
|
|
|
|
|
|
|
|
@@ -173,16 +173,16 @@ module.exports = {
|
|
|
RefereeCashoutApply:WxApiRoot+'referee/cashout',//提现申请
|
|
|
RefereeCashoutAuthCheck:WxApiRoot+'referee/authCheck',//实名认证检查
|
|
|
RefereeCashoutAuth:WxApiRoot+'referee/auth',//实名认证
|
|
|
-
|
|
|
+
|
|
|
RefereeMemberPoster:WxApiRoot+'qrcode/createMemberPoster',//生成会员卡赠送海报
|
|
|
- RefereeMemberCardReceive:WxApiRoot+'member/cardReceive',//会员卡领取
|
|
|
+ RefereeMemberCardReceive:WxApiRoot+'member/cardReceive',//会员卡领取
|
|
|
|
|
|
GetMemberAd:WxApiRoot+'ad/getMemberAd',//会员活动广告接口
|
|
|
|
|
|
EveryDayStock:WxApiRoot+'/orderbook/everyDayStock',//单次卡库存
|
|
|
checkRecommend:WxApiRoot+'order/checkRecommend',//推荐码
|
|
|
CPQrCode:WxApiRoot+'cp/qrCode',//获取加企微的活码
|
|
|
-
|
|
|
+
|
|
|
getTradeOrderList:WxApiRoot +'customerRerutnApi/getTradeOrderList',//工单详情,传bookDetailId
|
|
|
getConsoultType:WxApiRoot +'customerRerutnApi/getConsoultType',//企业回访数据
|
|
|
saveVisitBatch:WxApiRoot +'customerRerutnApi/saveVisitBatch',//提交企业回访数据
|
|
@@ -203,6 +203,6 @@ module.exports = {
|
|
|
getOrderInfo:WxApiRoot +'order/getOrderInfo',//获取订单信息
|
|
|
customerBook:WxApiRoot +'order/customerBook',// 客户预约
|
|
|
getBooked:WxApiRoot + 'orderbook/getBooked',
|
|
|
-
|
|
|
-
|
|
|
+ getCouponPackageOne:WxApiRoot + 'coupon/getCouponPackageOne', //查询未被领取的卡卷包
|
|
|
+ couponPackageReceive:WxApiRoot + 'coupon/couponPackageReceive', //卡卷包领取
|
|
|
};
|