This commit is contained in:
dzc committed 2024-11-11 14:42:47 +08:00
commit 7d450caf77
146 files changed
+39809

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
import request from "@/sheep/utils/request";
export default {
userInfo: () =>
request({
url: "/sys/user/get",
method: "GET",
custom: {
showLoading: false,
loadingMsg: "登录中",
},
}),
auth: (str: any) =>
request({
url: `/sys/auth/zzdsso/${str}`,
method: "GET",
custom: {
showLoading: false,
loadingMsg: "授权中",
},
}),
refreshToken: (params: any) =>
request({
url: `/sys/auth/refresh-token`,
method: "POST",
params,
custom: {
showLoading: false,
},
}),
};