🎨新增客户端离线通知选项配置以及监听任务

This commit is contained in:
2024-06-13 14:34:03 +08:00
parent 67f394f136
commit 6f249d20b0
18 changed files with 155 additions and 132 deletions

View File

@@ -1,5 +1,6 @@
import { http } from "@/utils/http";
import { baseUri } from "@/api/utils";
import { data } from "autoprefixer";
// 获取当前登陆用户信息
export const getUser = () => {
@@ -30,3 +31,8 @@ export const deleteUser = (userId: string) => {
export const changePassword = (data?: object) => {
return http.request("post", baseUri("/user/change-password"), { data });
};
// 生成头像
export const generateAvatar = () => {
return http.request<any>("post", baseUri("/user/change-avatar"));
};