12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- import request from '@/utils/request'
- import exp from 'constants';
- ///api/article/category/list
- export function artCateList(data) {
- return request({
- url: '/api/article/category/list',
- method: 'get',
- data
- });
- }
- // 促销商品
- 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'
- });
- }
|