修改token刷新

This commit is contained in:
weiwei committed 2025-02-19 16:44:30 +08:00
1 parent 2adaae4151
commit e15e84aecf
4 files changed
+238 -257

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ interface LoginParams {
export default {
// 获取用户信息
userInfo: () =>
userInfo: (): Promise<any> =>
request({
url: "/admin/user/info",
method: "GET",
@@ -27,7 +27,7 @@ export default {
}),
// 浙政钉授权
auth: (token: string) =>
auth: (token: string): Promise<any> =>
request({
url: `/thirdparty/thirdPartyOAth2/zzdsso/${token}`,
method: "GET",