// 图库模块

import { httpGet, httpPost } from "@/utils/request.js";

/**
 * 图库列表
 * @param Keywords 搜索关键词 
 * @param ClassifyId 图表类型ID 
 * @param Page 
 * @param Limit
 * @returns 
 */
export const apiChartList=params=>{
    return httpGet('/my_chart/getChartList',params)
}

/**
 * 图库分类
 * @param Keywords 搜索关键词 
 */
export const apiChartClassifyList=params=>{
    return httpGet('/my_chart/getChartChassify',params)
}

/**
 * 图库移动排序
 * @param MyChartId 
 * @param MyChartClassifyId 
 * @param PrevMyChartId 
 * @param NextMyChartId 
 */
export const apiChartMove=params=>{
    return httpPost('/my_chart/moveMyChart',params)
}

/**
 * 分类移动排序
 * @param MyChartClassifyId
 * @param PrevClassifyId
 * @param NextClassifyId
 */
export const apiClassifyMove=params=>{
    return httpPost('/my_chart/moveMyChartClassify',params)
}