证书详情

This commit is contained in:
jjLv 2024-08-05 14:26:01 +08:00
parent 72c9614920
commit be7ad8b7f4
1 changed files with 20 additions and 0 deletions

View File

@ -44,6 +44,14 @@ export function getPersonInfo(data) {
})
}
//证书详情
export function getCertificate(memberId) {
return request({
url: '/bracelet/person/' + memberId,
method: 'get',
})
}
// 删除
export function delPerson(data) {
return request({
@ -53,6 +61,18 @@ export function delPerson(data) {
})
}
// 修改证书
export function updateCertificate(data) {
return request({
headers: { // 修改请求头
'decrypt': 'decrypt',
'Content-Type': 'multipart/form-data'
},
url: '/bracelet/person/updateCertificate',
method: 'put',
data: data
})
}
// 导出
export function exportPerson(query) {