123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- import request from '@/utils/request'
- // 促销商品
- 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 article(data,id) {
- return request({
- url: '/api/article/list/' + id,
- method: 'get',
- data
- });
- }
- //获取文章详情
- export function details(data,id) {
- return request({
- url: '/api/article/details/'+id,
- method: 'GET',
- data
- });
- }
|