123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- 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 getBargainList(data) {
- return request({
- url: '/api/bargain/list',
- 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
- });
- }
- export function getCategoryList(data) {
- return request({
- url: '/api/category',
- method: 'get',
- data
- });
- }
- export function getCombinationList(data) {
- return request({
- url: '/api/combination/list',
- method: 'get',
- data
- });
- }
- export function getCombinationLisRemove(data, id) {
- return request({
- url: '/api/combination/remove' + id,
- method: 'get',
- data
- });
- }
- export function getCombinationLisPink(data, id) {
- return request({
- url: '/api/combination/pink/' + id,
- method: 'get',
- data
- });
- }
- export function getCombinationPoster(data) {
- return request({
- url: '/api/combination/poster',
- method: 'post',
- data
- });
- }
- export function getSeckillClass(data) {
- return request({
- url: '/api/seckill/index',
- method: 'get',
- data
- });
- }
- export function getSeckillList(data, id) {
- return request({
- url: '/api/seckill/list/' + id,
- method: 'get',
- data
- });
- }
- export function reply_config(data, id) {
- return request({
- url: '/api/reply/config/' + id,
- method: 'get',
- data
- });
- }
- export function reply_list(data, id) {
- return request({
- url: '/api/reply/list/' + id,
- method: 'get',
- data
- });
- }
- export function poster(data) {
- return request({
- url: '/api/product/poster',
- method: 'post',
- data
- });
- }
|