打卡功能优化

This commit is contained in:
xiezhijun
2021-04-09 19:59:54 +08:00
parent 329a7029b0
commit 1789e77786
7 changed files with 376 additions and 41 deletions

View File

@ -36,9 +36,9 @@ export function updateWxUserLog(data) {
}
// 删除微信用户记录
export function delWxUserLog(openid) {
export function delWxUserLog(id) {
return request({
url: '/custom/wxUserLog/' + openid,
url: '/custom/wxUserLog/' + id,
method: 'delete'
})
}
@ -51,3 +51,12 @@ export function exportWxUserLog(query) {
params: query
})
}
// 根据ID查询打卡日志详情
export function getPunchLogDetail(id) {
return request({
url: '/custom/wxUserLog/getPunchLogDetail/' + id,
method: 'get',
params: {}
})
}