1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- import request from '@/utils/request'
- export function getProducts(data) {
-
-
-
-
-
-
-
-
-
-
-
- return request({
- url: '/api/products',
- method: 'get',
- data
- });
- }
- export function goodsDetail(data, id) {
- return request({
- url: '/api/product/detail/' + id,
- method: 'get',
- data
- });
- }
- export function cartAdd(data) {
- return request({
- url: '/api/cart/add',
- method: 'post',
- data
- });
- }
- export function collectAdd(data) {
- return request({
- url: '/api/collect/add',
- method: 'post',
- data
- });
- }
- export function collectDel(data) {
- return request({
- url: '/api/collect/del',
- method: 'post',
- data
- });
- }
- export function searchKeyword(data) {
- return request({
- url: '/api/search/keyword',
- method: 'get',
- data
- });
- }
- export function groomList(data,type) {
-
- return request({
- url: '/api/groom/list/'+type,
- method: 'get',
- data
- });
- }
- export function seckillGoods(data,id) {
- return request({
- url: '/api/seckill/detail/'+id,
- method: 'get',
- data
- });
- }
- export function groupGoods(data,id) {
- return request({
- url: '/api/combination/detail/'+id,
- method: 'get',
- data
- });
- }
|