62 lines
1.2 KiB
JavaScript
62 lines
1.2 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询二维码列表
|
|
export function listQRCode(query) {
|
|
return request({
|
|
url: '/business/storeInformation/qrCode/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询二维码列表
|
|
export function QRCodeByStoreId(query) {
|
|
return request({
|
|
url: '/business/storeInformation/qrCode/createStoreQrCode',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询二维码详细
|
|
export function qrCodeInfo() {
|
|
return request({
|
|
url: '/business/storeInformation/qrCode',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 查询二维码详细
|
|
export function getQRCode(id) {
|
|
return request({
|
|
url: '/business/storeInformation/qrCode/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增二维码
|
|
export function addQRCode(data) {
|
|
return request({
|
|
url: '/business/storeInformation/qrCode',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改二维码
|
|
export function updateQRCode(data) {
|
|
return request({
|
|
url: '/business/storeInformation/qrCode',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除二维码
|
|
export function delQRCode(id) {
|
|
return request({
|
|
url: '/business/storeInformation/qrCode/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|