二维码保存和 查询
This commit is contained in:
@@ -270,3 +270,53 @@ export function saveCodeApi(data) {
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
//根据序列号查找 二维码/system/qrcode/serial/{serialNumber}
|
||||
|
||||
export function getCodeImgApi(serialNumber) {
|
||||
return request({
|
||||
url: `/system/qrcode/serial/${serialNumber}`,
|
||||
method: 'get',
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
//查询二维码列表/system/qrcode/list
|
||||
|
||||
export function getCodeListApi() {
|
||||
return request({
|
||||
url: `/system/qrcode/list`,
|
||||
method: 'get',
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
//分页查询二维码/system/qrcode/page
|
||||
|
||||
export function getCodeListPageApi() {
|
||||
return request({
|
||||
url: `/system/qrcode/page`,
|
||||
method: 'get',
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
//查询二维码详情/system/qrcode/{id}
|
||||
|
||||
export function getCodeDeatil(id) {
|
||||
return request({
|
||||
url: `/system/qrcode/${id}`,
|
||||
method: 'get',
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
//删除二维码/system/qrcode/{ids}
|
||||
|
||||
export function delteCodesApi(ids) {
|
||||
return request({
|
||||
url: `/system/qrcode/${ids}`,
|
||||
method: 'delete',
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user