12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- 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 storeList(data) {
- return request({
- url:'/api/store_list',
- method: 'get',
- data
- })
- }
- // 获取文章列表
- export function getArticleList(data,cid) {
- return request({
- url:'/api/article/list/'+ cid,
- method: 'get',
- data
- })
- }
- //getArtDetai
- export function getArtDetai(data,id) {
- return request({
- url:'/api/article/details/'+ id,
- method: 'get',
- data
- })
- }
|