// const WX_API_BASE = 'https://www.qianjiadi.com/'
// const WX_API_BASE = 'http://ch.jihengcc.cn:17080/'
 //const WX_API_BASE = 'https://test.jihengcc.cn/'
const WX_API_BASE = 'https://www.qianjiadi.com/'

module.exports = {
	//  微信登录
	WxLogin: WX_API_BASE + 'app/auth/user/wx/login',
	//  获取个人信息
	getMainInfo: WX_API_BASE + 'app/member/selectUserById/',
	//  获取商户信息
	getMerchantsMainInfo: WX_API_BASE + '/app/merchants/selectMerchantsById/',
	//  获取我的积分
	getIntegral: WX_API_BASE + 'app/member/getUserIntegralById',
	//  获取积分列表
	getIntegralList: WX_API_BASE + 'app/member/getIntegralUse',
	//  查询我的优惠券
	getCouponList: WX_API_BASE + 'app/member/findCouponListType',
	//  查询可用优惠券
	getUsableCouponList: WX_API_BASE + 'app/order/user/addOrderInit/getMemberCouponList',
	//  查询我的共享种植列表
	getPlantList: WX_API_BASE + 'app/plantEntrust/selectPlantEntrust',
	
	
	//  获取广告
	getAdvert: WX_API_BASE + 'app/product/user/homePage',
	//  获取今日特惠商品列表
	getPreferentialGoods: WX_API_BASE + 'app/product/user/homePage/indulgenceProductList',
	//  获取猜你喜欢商品列表
	getPreferGoods: WX_API_BASE + 'app/product/user/homePage/guessLike/getProductList',
	//  获取直播列表
	getLiveTelecast: WX_API_BASE + 'app/liveAndVideo/user/homePage/liveList',
	//  获取直播列表过滤
	getLiveTelecastList: WX_API_BASE + 'app/liveAndVideo/user/homePage/searchLiveList',
	//  获取直播商品详情
	getLiveGoodsDetail: WX_API_BASE + 'app/liveAndVideo/user/homePage/liveProductList/',
	//  获取短视频列表
	getShortVideo: WX_API_BASE + 'app/liveAndVideo/user/homePage/videoList',
	//  获取短视商品频详情
	getShortGoodsDetail: WX_API_BASE + 'app/liveAndVideo/user/homePage/videoProductList/',
	
	
	//  获取分类
	getSortList: WX_API_BASE + 'app/productCategory/categoryInitialization',
	//  获取分类下商品
	getGoodsBySort: WX_API_BASE + 'app/productCategory/selectProductCategory',
	//  获取自助采摘、共享种植、拍卖商品列表
	getGoodsByType: WX_API_BASE + 'app/product/homeCategoryProductPage',
	//  获取商铺详情
	getShopDetail: WX_API_BASE + 'app/product/user/productDetail/storeInfo',
	//  获取商铺下全部商品分类
	getCategoryByShop: WX_API_BASE + 'app/product/user/productDetail/store/productCategoryList/',
	//  获取商铺下全部商品
	getAllGoodsByShop: WX_API_BASE + 'app/product/user/productDetail/store/productList/',
	//  获取商铺下分类商品
	getGoodsByShopAndSort: WX_API_BASE + 'app/product/user/productDetail/store/categoryProductList/',
	//  获取商品详情
	getCommonGoodDetail: WX_API_BASE + 'app/product/user/productDetail',
	//  获取商品评价
	getAssessList: WX_API_BASE + 'app/product/user/productDetail/evaluateList/',
	//  查询拍卖商品详情
	getAuctionDetail: WX_API_BASE + 'app/product/user/auctionProductDetail/biddingHall/',
	
	
	//  获取购物车列表
	getCartList: WX_API_BASE + 'app/shoppingcart/user/shoppingcartList',
	//  添加购物车
	addCart: WX_API_BASE + 'app/shoppingcart/user/addCart',
	//  编辑购物车
	editCart: WX_API_BASE + 'app/shoppingcart/user/shoppingcartList/updateCart',
	//  删除购物车
	deleteCart: WX_API_BASE + 'app/shoppingcart/user/shoppingcartList/deleteCart',
	
	
	//  查询地址列表
	getAddressList: WX_API_BASE + 'app/address/selectMemberAddressList',
	//  新增地址
	addAddress: WX_API_BASE + 'app/address/add',
	//  删除地址
	deleteAddress: WX_API_BASE + 'app/address/deleteMemberAddress/',
	//  编辑地址
	editAddress: WX_API_BASE + 'app/address/update',
	//  查询地址详情
	getAddressDetail: WX_API_BASE + 'app/address/detail/',
	
	
	//  下订单
	submitOrder: WX_API_BASE + 'app/order/user/submitOrder',
	//  立即支付未付款订单
	payOrder: WX_API_BASE + 'app/order/user/my/orderList/continuePay',
	//  查询订单列表
	getOrderList: WX_API_BASE + 'app/order/user/my/orderList/',
	//  取消订单
	cancelOrder: WX_API_BASE + 'app/order/user/my/orderList/updateCancelOrder',
	//  确认收货
	confirmOrder: WX_API_BASE + 'app/order/user/my/orderList/updateConfirmReceipt',
	//  评价收货
	evaluateOrder: WX_API_BASE + 'app/order/user/my/orderList/addOrderEvaluateByEva',
	//  申请售后
	applyService: WX_API_BASE + 'app/order/user/my/orderList/getApplyAfterSale',
	//  获取订单详情
	getOrderDetail: WX_API_BASE + 'app/order/user/my/orderList/orderDetail',
	//  获取留言列表
	getMessageList: WX_API_BASE + 'app/order/user/my/orderList/orderDetail/leaMsgList/',
	//  发布留言
	addMessage: WX_API_BASE + 'app/order/user/my/orderList/orderDetail/leaMsgList/addLeaMsg',
	//  查询物流信息
	getLogisticsDeatil: WX_API_BASE + 'app/order/getShippingTrace/',
	
	
	//  查询共享种植委托列表
	getEvaluateList: WX_API_BASE + 'app/plantEntrust/plantEntrustOrderList',
	//  发布委托
	submitEvaluate: WX_API_BASE + 'app/order/user/my/sharePlantProductList/productDetail/releaseEntrust',
	//  连接自助采摘视频
	linkPickVideo: WX_API_BASE + 'app/liveAndVideo/user/getLiveStatus',
	// 获取委托金额
	getShareTaskPric: WX_API_BASE + 'app/order/user/my/getShareTaskPrice',
	
	
	
	//  上传文件
	uploadFile: WX_API_BASE + 'app/uploadManage/upload',
}
