证书详情
This commit is contained in:
parent
72c9614920
commit
be7ad8b7f4
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue