🎨新增客户端离线通知选项配置以及监听任务
This commit is contained in:
@@ -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"));
|
||||
};
|
||||
|
Reference in New Issue
Block a user