// 查询商家列表
export const getBusinessList = (params) => uni.$uv.http.get(`/ticket/business/list`, { params });
// 获取商家详细信息
export const getBusinessInfo = (data) => uni.$uv.http.post(`/ticket/business/info`, data);
// 根据id获取商家详细信息
export const getBusinessInfoId_Api = (businessId) => uni.$uv.http.get(`/ticket/business/info/${businessId}`, {});
// 查询商品分类列表
export const getProductCategoryList = (params) => uni.$uv.http.get(`/shop/productCategory/list`, { params });
// 商家店铺内分页查询产品列表
export const productList = (params) => uni.$uv.http.get(`/shop/product/shop/page`, { params });
// 获取产品详细信息
export const productInfo = (productId) => uni.$uv.http.get(`/shop/product/info/${productId}`);
// 获取用户收藏
export const getUserCollect = (data) => uni.$uv.http.post(`/user/userCollect/getUserCollect`, data);
// 新增用户收藏
export const userCollectAdd = (data) => uni.$uv.http.post(`/user/userCollect/add`, data);
// 删除用户收藏
export const userCollectDel = (ids) => uni.$uv.http.post(`/user/userCollect/del/${ids}`);
// 查询订单评论列表
export const shopOrderCommentPage = (params) => uni.$uv.http.get(`/shopOrderComment/page`, { params });
// 新增订单评论
export const shopOrderCommentAdd_Api = (data) => uni.$uv.http.post(`/shopOrderComment/add`, data);
// 删除订单评论 
export const shopOrderCommentDel_Api = (commentIds) => uni.$uv.http.post(`/shopOrderComment/del/${commentIds}`, {});
// 查询商品分类列表
export const productCategoryList = (params) => uni.$uv.http.get(`/shop/productCategory/list`, { params });
// 查询用户收藏列表
export const userCollectPage_Api = (params) => uni.$uv.http.get(`/user/userCollect/page`, { params });
// 查询会员的购物车列表
export const userShoppingCartList_Api = (params) => uni.$uv.http.get(`/userShoppingCart/list`, { params });
// 新增会员的购物车
export const userShoppingCartAdd_Api = (data) => uni.$uv.http.post(`/userShoppingCart/add`, data);
// 删除会员的购物车
export const userShoppingCartDel_Api = (ids) => uni.$uv.http.post(`/userShoppingCart/del/${ids}`);
// 一键清除失效的购物车
export const oneClickClear_Api = (data) => uni.$uv.http.post(`/userShoppingCart/oneClickClear`, data);
// 查询会员某个店铺的购物车列表
export const cartListBusinessList_Api = (businessId) => uni.$uv.http.get(`/userShoppingCart/businessList/${businessId}`, {  });

// 推荐或新或热销产品列表
export const shopProductList_Api = (params) => uni.$uv.http.get(`/shop/product/list`, { params });

// 商城分页查询产品列表
export const shopProductPage_Api = (params) => uni.$uv.http.get(`/shop/product/page`, { params });

// 查询平台分类列表
export const merchantCategoryTree_Api = (params) => uni.$uv.http.get(`/merchantCategory/tree`, { params });