/*
 * @Author: PoJun
 * @Date: 2023-09-13 17:12:51
 * @LastEditors: PoJun
 * @LastEditTime: 2024-04-27 22:47:03
 * @Message: 产品相关
 */
const { http } = uni.$uv;
/** 获取无权限产品目录树 */
export const getProductsTreeNoAuth = () => http.get(`/product_dirs/tree_noauth`);

/** 产品目录对应的供应商数量 */
export const getHomeChartData = () => http.get(`/product_dirs/supplierCountGroupByProduct`);

/** 获取当前供应商优质产品目录树 */
export const getMyProductsTree = () => http.get(`/srmSuppliers/self/product/info`);
