管理员开门功能

This commit is contained in:
2024-02-01 21:39:06 +08:00
parent 8999ee41ce
commit 2fc387584f
3 changed files with 26 additions and 8 deletions

View File

@@ -15,8 +15,8 @@ export function adminEnter(id) {
return http.post('/device/admin/enter/' + id)
}
export function adminOut(id) {
return http.post('/device/admin/out/' + id)
export function adminOut(id, pwd) {
return http.post('/device/admin/out/' + id, { 'password': pwd })
}
export function uploadLog(id) {
return http.post('/device/upload/log/' + id)