|
|
@ -61,6 +61,15 @@ export function del(data) {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function upload_header_img(data) {
|
|
|
|
|
|
|
|
return request({
|
|
|
|
|
|
|
|
url: '/api/user/upload',
|
|
|
|
|
|
|
|
method: 'post',
|
|
|
|
|
|
|
|
data
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// /api/power/get_list
|
|
|
|
// /api/power/get_list
|
|
|
|
export function get_role_list(data) {
|
|
|
|
export function get_role_list(data) {
|
|
|
|
return request({
|
|
|
|
return request({
|
|
|
@ -149,6 +158,17 @@ export function faceStop() {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function paizhao_upload_header_img(data) {
|
|
|
|
|
|
|
|
return request({
|
|
|
|
|
|
|
|
url: '/user/paizhao',
|
|
|
|
|
|
|
|
method: 'post',
|
|
|
|
|
|
|
|
baseURL: process.env.VUE_APP_FACE_API,
|
|
|
|
|
|
|
|
data
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// export function faceRecognition(data) {
|
|
|
|
// export function faceRecognition(data) {
|
|
|
|
// return request({
|
|
|
|
// return request({
|
|
|
|
// url: '/face/recognition/',
|
|
|
|
// url: '/face/recognition/',
|
|
|
|