修改token刷新
This commit is contained in:
1 parent
2adaae4151
commit
e15e84aecf
4 files changed
+238
-257
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user