// 以下是业务服务器API地址 // var WxApiRoot = 'http://localhost:8081/v2/douyin/'; // uat环境使用 // var WxApiRoot = 'https://uat.jzmall.lifejingzhi.com/v2/douyin/'; //新版,宅洁士 var WxApiRoot = 'https://mall.zhaijieshi.cc/v2/douyin/'; var appid='tt9019e6a40f261c9a01'//鲸致 // var appid='ttf8798ec467461e4501'//云嘉 module.exports = { appid:appid, IndexUrl: WxApiRoot + 'home/index', //首页数据接口 AboutUrl: WxApiRoot + 'home/about', //介绍信息 CatalogList: WxApiRoot + 'catalog/index', //分类目录全部分类数据接口 CatalogCurrent: WxApiRoot + 'catalog/current', //分类目录当前分类数据接口 AuthLoginByWeixin: WxApiRoot + 'auth/login_by_weixin', //微信登录--并注册 AuthLogout: WxApiRoot + 'auth/logout', //账号登出 AuthRegister: WxApiRoot + 'auth/register', //账号注册 AuthReset: WxApiRoot + 'auth/reset', //获取openid AuthOpenId: WxApiRoot + 'auth/getOpenId', //账号密码重置 AuthBindPhone: WxApiRoot + 'auth/bindPhone', //绑定微信手机号 AuthDenPhone: WxApiRoot + 'auth/denPhone', //微信手机号解密 AuthCert: WxApiRoot + 'auth/certification', //实名认证 AuthIsCert: WxApiRoot + 'auth/iscertification', //是否实名认证 GoodsCount: WxApiRoot + 'goods/count', //统计商品总数 GoodsList: WxApiRoot + 'goods/list', //获得商品列表 GoodsList_a2: WxApiRoot + 'goods/list_a2', //获得商品列表 GoodsCategory: WxApiRoot + 'goods/category', //获得分类数据 GoodsDetail: WxApiRoot + 'goods/detailV2', //获得商品的详情 GoodsRelated: WxApiRoot + 'goods/related', //商品详情页的关联商品(大家都在看) GoodsL1Category: WxApiRoot + 'goods/categoryGoods', //类目下所有商品 GoodsCoupon: WxApiRoot + 'goods/couponGoods', //返回优惠券绑定的商品 BrandList: WxApiRoot + 'brand/list', //品牌列表 BrandDetail: WxApiRoot + 'brand/detail', //品牌详情 CartList: WxApiRoot + 'cart/index', //获取购物车的数据 CartAdd: WxApiRoot + 'cart/add', // 添加商品到购物车 CartFastAdd: WxApiRoot + 'cart/fastadd', // 立即购买商品 CartUpdate: WxApiRoot + 'cart/update', // 更新购物车的商品 CartDelete: WxApiRoot + 'cart/delete', // 删除购物车的商品 CartChecked: WxApiRoot + 'cart/checked', // 选择或取消选择商品 CartGoodsCount: WxApiRoot + 'cart/goodscount', // 获取购物车商品件数 CartCheckout: WxApiRoot + 'order/checkoutV2', // 下单前信息确认 CollectList: WxApiRoot + 'collect/list', //收藏列表 CollectAddOrDelete: WxApiRoot + 'collect/addordelete', //添加或取消收藏 CommentList: WxApiRoot + 'comment/list', //评论列表 CommentCount: WxApiRoot + 'comment/count', //评论总数 CommentPost: WxApiRoot + 'comment/post', //发表评论 TopicList: WxApiRoot + 'topic/list', //专题列表 TopicDetail: WxApiRoot + 'topic/detail', //专题详情 TopicRelated: WxApiRoot + 'topic/related', //相关专题 SearchIndex: WxApiRoot + 'search/index', //搜索关键字 SearchResult: WxApiRoot + 'search/result', //搜索结果 SearchHelper: WxApiRoot + 'search/helper', //搜索帮助 SearchClearHistory: WxApiRoot + 'search/clearhistory', //搜索历史清楚 AddressList: WxApiRoot + 'address/list', //收货地址列表 AddressDetail: WxApiRoot + 'address/detail', //收货地址详情 AddressSave: WxApiRoot + 'address/save2', //保存收货地址 AddressDelete: WxApiRoot + 'address/delete', //保存收货地址 LocationSave: WxApiRoot + 'address/saveLocation', //自定定位地址保存 //收货check AddressChcek: WxApiRoot + 'address/check', ExpressQuery: WxApiRoot + 'express/query', //物流查询 RegionList: WxApiRoot + 'region/list', //获取区域列表 OrderSubmit: WxApiRoot + 'order/submit', // 提交订单 OrderPrepay: WxApiRoot + 'order/prepayV2', // 订单的预支付会话 OrderList: WxApiRoot + 'order/list', //订单列表 OrderDetail: WxApiRoot + 'order/detail', //订单详情 OrderCancel: WxApiRoot + 'order/cancel', //取消订单 OrderRefund: WxApiRoot + 'order/refund', //退款取消订单 OrderDelete: WxApiRoot + 'order/delete', //删除订单 OrderConfirm: WxApiRoot + 'order/confirm', //确认收货 OrderGoods: WxApiRoot + 'order/goods', // 代评价商品信息 OrderComment: WxApiRoot + 'order/comment', //订单备注 OrderMsg: WxApiRoot + 'order/orderMsg', // 评价订单商品信息 OrderPayCheck: WxApiRoot + 'order/payCheck', OrderEdit: WxApiRoot + 'order/edit', //订单校验 OrderCheckGoods: WxApiRoot + 'order/checkGoodsV2', AftersaleSubmit: WxApiRoot + 'aftersale/submit', // 提交售后申请 AftersaleList: WxApiRoot + 'aftersale/list', // 售后列表 AftersaleDetail: WxApiRoot + 'aftersale/detail', // 售后详情 FeedbackAdd: WxApiRoot + 'feedback/submit', //添加反馈 FootprintList: WxApiRoot + 'footprint/list', //足迹列表 FootprintDelete: WxApiRoot + 'footprint/delete', //删除足迹 CouponList: WxApiRoot + 'coupon/list', //优惠券列表 CouponMyList: WxApiRoot + 'coupon/mylist', //我的优惠券列表 CouponSelectList: WxApiRoot + 'coupon/selectlist', //当前订单可用优惠券列表 CouponReceive: WxApiRoot + 'coupon/receive', //优惠券领取 CouponExchange: WxApiRoot + 'coupon/exchange', //优惠券兑换 CouponDouyinExchange: WxApiRoot + 'coupon/exchangeDouyin', //抖音优惠券兑换 CouponPre: WxApiRoot + 'coupon/couponPre', //团购预售查询 StorageUpload: WxApiRoot + 'storage/upload', //图片上传, UserIndex: WxApiRoot + 'user/index', //个人页面用户相关信息 IssueList: WxApiRoot + 'issue/list', //帮助信息 QrCodeCreate: WxApiRoot + 'qrcode/create', //普通二维码生成 QrStarCodeCreate: WxApiRoot + 'qrcode/createstar', //专属二维码 QrGoodsCodeCreate: WxApiRoot + 'qrcode/createDyQRCode', //商品分享链接 会员和普通用于一致 在分享用户注册时区分 OrderBookGetShop: WxApiRoot + 'orderbook/getShop', //根据经纬度获取门店 OrderCheckAddress: WxApiRoot + 'orderbook/checkAddress', //收货地址校验 OrderBookDefaultAddress: WxApiRoot + 'address/default', //获取默认用户地址 getDefaultCityShop: WxApiRoot + 'address/getDefaultCityShop', //小程序默认系统地址 CouponRegister: WxApiRoot + 'coupon/register', //进入小程序优惠券 OrderAppoint: WxApiRoot + 'orderbook/estimate', // POST 预约服务人员结果预估 ServiceDetail: WxApiRoot + 'orderbook/detail', //服务详情 预约单明细 ServiceOrderBook: WxApiRoot + 'orderbook/book', ServiceOrderBookV2: WxApiRoot + 'orderbook/bookV2', //工单备注 ServiceOrderBookMsg: WxApiRoot + 'orderbook/bookMsg', // 未预约的权益 重新预约 GetAllCity: WxApiRoot + 'address/getAllCity', //获取系统城市 // ReferrerRidInfo:WxApiRoot + 'commission/referrerRidInfo', //根据分享的rid查询信息 GetDenPhone: WxApiRoot + 'auth/getDenPhone', EveryDayStock: WxApiRoot + 'orderbook/everyDayStock', //单次卡库存 EveryDayStockV2: WxApiRoot + 'orderbook/everyDayStockV2', //单次卡库存 detailBookSuccess: WxApiRoot + 'orderbook/detailBookSuccess', checkRecommend: WxApiRoot + 'order/checkRecommend', //推荐码 UserInfo: WxApiRoot + 'auth/syncUserInfo', //用户头像 //退款金额 AftersaleAmount: WxApiRoot + 'aftersale/preCheck', AftersaleRefundType: WxApiRoot + 'aftersale/refundType', //退款原因 //根据ip获取所在城市 GetCityByIp: WxApiRoot + 'order/getCityByIP', GetLoginInfo: WxApiRoot + 'auth/getLoginInfo', //支付成功 如果是静默授权 设置客户为登录状态 getTradeOrderList: WxApiRoot + 'customerRerutnApi/getTradeOrderList', //工单详情,传bookDetailId getConsoultType: WxApiRoot + 'customerRerutnApi/getConsoultType', //企业回访数据 saveVisit: WxApiRoot + 'customerRerutnApi/saveVisit', //提交企业回访数据 getGoodsComment: WxApiRoot + 'goods/getGoodsComment', //全部评价 selectMaxCoupon: WxApiRoot + 'coupon/selectMaxCoupon', //最大优惠 allStore: WxApiRoot + 'home/allStore', // 取消退款 AftersaleCancel: WxApiRoot + 'aftersale/cancel', // 售后投诉处理满意度 TicketSatisfaction: WxApiRoot + 'ticket/satisfaction', // 小雪花页面 GoodsSnow: WxApiRoot + 'snow/list', OrderBookCancel: WxApiRoot + 'orderbook/cancelBook', //预约取消 gdUrl: 'https://restapi.amap.com/v3/geocode/regeo', gdCityUrl: 'https://restapi.amap.com/v3/geocode/geo', gdSearchUrl: 'https://restapi.amap.com/v3/assistant/inputtips', gdKey: 'ad9076a2b3efffaf7ff54c2ece9e92c1', everyDayTime: WxApiRoot + 'orderbook/everyDayTime' ,//预约时间 appTheme:WxApiRoot + 'home/about', getPaySuccessCalender:WxApiRoot + 'orderbook/getPaySuccessCalender', addLog:WxApiRoot + 'pageLog/addlog', };