123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- import request from "./../utils/request.js";
- export function getCombinationList(data) {
- return request.get('combination/list', data,{noAuth:true});
- }
- export function getCombinationDetail(id) {
- return request.get('combination/detail/'+id);
- }
- export function getCombinationPink(id) {
- return request.get("combination/pink/" + id);
- }
- export function postCombinationRemove(data) {
- return request.post("combination/remove",data);
- }
- export function getBargainList(data) {
- return request.get("bargain/list", data,{noAuth:true});
- }
- export function getBargainUserList(data){
- return request.get('bargain/user/list',data);
- }
- export function bargainUserCancel(bargainId){
- return request.post('bargain/user/cancel', { bargainId: bargainId})
- }
- export function getBargainDetail(id) {
- return request.get("bargain/detail/" + id);
- }
- export function postBargainStartUser(data) {
- return request.post("bargain/start/user", data);
- }
- export function postBargainStart(bargainId) {
- return request.post("bargain/start", { bargainId: bargainId});
- }
- export function postBargainHelp(data) {
- return request.post("bargain/help", data);
- }
- export function postBargainHelpPrice(data) {
- return request.post("bargain/help/price", data);
- }
- export function postBargainHelpList(data) {
- return request.post("bargain/help/list", data);
- }
- export function postBargainHelpCount(data) {
- return request.post("bargain/help/count", data);
- }
- export function postBargainShare(bargainId) {
- return request.post("bargain/share", { bargainId: bargainId});
- }
- export function getSeckillIndexTime(){
- return request.get('seckill/index',{},{noAuth:true});
- }
- export function getSeckillList(time,data){
- return request.get('seckill/list/'+time,data,{noAuth:true});
- }
- export function getSeckillDetail(id){
- return request.get('seckill/detail/'+id);
- }
- export function getBargainPoster(data){
- return request.post('bargain/poster',data)
- }
- export function getCombinationPoster(data){
- return request.post('combination/poster',data)
- }
|