You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
743 B
TypeScript
26 lines
743 B
TypeScript
import request from '@/utils/request'
|
|
|
|
// 礼包配置列表
|
|
export function apiShopGiftsLists(params: any) {
|
|
return request.get({ url: '/config.shopgifts/lists', params })
|
|
}
|
|
|
|
// 添加礼包配置
|
|
export function apiShopGiftsAdd(params: any) {
|
|
return request.post({ url: '/config.shopgifts/add', params })
|
|
}
|
|
|
|
// 编辑礼包配置
|
|
export function apiShopGiftsEdit(params: any) {
|
|
return request.post({ url: '/config.shopgifts/edit', params })
|
|
}
|
|
|
|
// 删除礼包配置
|
|
export function apiShopGiftsDelete(params: any) {
|
|
return request.post({ url: '/config.shopgifts/delete', params })
|
|
}
|
|
|
|
// 礼包配置详情
|
|
export function apiShopGiftsDetail(params: any) {
|
|
return request.get({ url: '/config.shopgifts/detail', params })
|
|
} |