import request from '@/utils/request' import exp from 'constants'; // 促销商品 export function groom4(data) { return request({ url: '/api/groom/list/4', method: 'get', data }); } // 精品推荐 export function groom1(data) { return request({ url: '/api/groom/list/1', method: 'get', data }); } // 新品首发 export function groom3(data) { return request({ url: '/api/groom/list/3', method: 'get', data }); } // 获取首页信息 export function loadIndexs(data) { return request({ url: '/api/index', method: 'get', data }); } export function enroll(data) { return request({ url: '/api/enroll', method: 'post', data }); } //普通商品核销 export function orderVerific(data) { return request({ url: '/api/order/order_verific', method: 'post', data }); } export function getArtList(data,id) { return request({ url: '/api/article/list/' + id, method: 'get', data }); } export function getDetail(id) { return request({ url: '/api/article/details/' + id, method: 'get' }); }