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

/**
 * 获取积分信息
 * @returns
 */

export const fetchIntegralJSON = () => api.get('/c/front/content',{type:'integral'});

/**
 * 获取生日礼接口
 * @returns
 */
export const fetchBirthdayGiftJSON = () => api.get('/c/equity/birthdayGift/index');

/**
 * 领取生日礼
 * @returns
 */
export const fetchBatchReceiveJSON = () => api.post('/c/equity/birthdayGift/batchReceive');

/**
 * 获取活动状态--溯源游
 * @returns
 */
export const fetchActivityStateJSON = () => api.get('/c/third/activity/state');

//获取配置项和商品列表
export const getResourceList = () => api.get('c/resource/list');