You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
495 B
24 lines
495 B
4 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// api地址
|
||
|
const api = {
|
||
|
list: 'bargain.active/list',
|
||
|
detail: 'bargain.active/detail',
|
||
|
poster: 'bargain.active/poster'
|
||
|
}
|
||
|
|
||
|
// 砍价活动会场列表
|
||
|
export const list = (param) => {
|
||
|
return request.get(api.list, param)
|
||
|
}
|
||
|
|
||
|
// 砍价活动详情
|
||
|
export const detail = (activeId, param) => {
|
||
|
return request.get(api.detail, { activeId, ...param })
|
||
|
}
|
||
|
|
||
|
// 生成商品海报
|
||
|
export const poster = param => {
|
||
|
return request.get(api.poster, param)
|
||
|
}
|