钊-礼品卡
This commit is contained in:
parent
9d8bd25072
commit
0e081c8969
@ -1,13 +1,53 @@
|
||||
import request from '@/utils/request'
|
||||
// 上传文件
|
||||
export function uploadFile(data,activeNum,interType) {
|
||||
return request({
|
||||
url: '/cardGiftActive/importCardInfo?activeNum='+activeNum+'&interType='+interType,
|
||||
method: 'post',
|
||||
data: data,
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 分页查询列表
|
||||
export function getList(query) {
|
||||
return request({
|
||||
url: 'business/marketingActivity/cardGift',
|
||||
url: '/cardGiftActive',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
//修改
|
||||
export function updateId(data) {
|
||||
return request({
|
||||
url: '/cardGiftActive',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
//新增
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: '/cardGiftActive',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//下载模板
|
||||
export function downloadTemplate() {
|
||||
return request({
|
||||
url: 'business/marketingActivity/cardGift/template',
|
||||
method: 'get',
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function getListtj(query) {
|
||||
return request({
|
||||
url: 'business/marketingActivity/cardGift/list/11',
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user