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

/**
 * 获取首页信息
 * @returns
 */
export const fetchHomeInfo = () => api.get('/c/user/index');



export const fetchCanEatIndex = () => api.get('/c/eat/index');

export const fetchCanEatJoin = (data) => api.post('/c/eat/join', data);
export const fetchHomeJSON = () => api.get('/c/front/content',{type:'home_V1'});
