From 6f19e706c33dc8f1d2a33ceb209dfe498af2b016 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期五, 24 三月 2023 11:40:04 +0800 Subject: [PATCH] 优化 --- src/api/users.js | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/api/users.js b/src/api/users.js index 681a6bf..1252c53 100644 --- a/src/api/users.js +++ b/src/api/users.js @@ -1,4 +1,22 @@ import axios from "axios"; +import http from "@/http"; + export default { login: (data) => axios.post('/sccg/admin/login', data), + + getMessageAuditList: (params) => { + return http.get('/sccg/message_column_set/getUserColumnSet', params); + }, + + getMenu: (params) => { + return http.get('/sccg/admin/info', params); + }, + + updatePassword: (params) => { + return http.post('/sccg/admin/updatePassword', params); + }, + + logout: () => { + return http.post('/sccg/admin/logout'); + } }; \ No newline at end of file -- Gitblit v1.8.0