import requestModule from './request.js';
const {
	api
} = requestModule;

/**
 * 获取历史搜索
 * @returns
 */
export const historySearch = () => api.get('/c/mini/historySearch');

/**
 * 清空历史搜索
 * @returns
 */
export const historyClear = () => api.get('/c/mini/historyClear');

/**
 * 搜索
 */
export const search = (data) => api.get('/c/mini/search',data);