diff --git a/src/api/user/user.js b/src/api/user/user.js index f2b9f59..684a508 100644 --- a/src/api/user/user.js +++ b/src/api/user/user.js @@ -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 export function get_role_list(data) { 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) { // return request({ // url: '/face/recognition/',