feat: add loginType and deploy load sever

This commit is contained in:
2025-02-16 03:10:50 +08:00
parent b631ff4a09
commit 169827b211
4 changed files with 41 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ export const queryLogin = async (username: string, password: string) => {
payload: {
username,
password,
loginType: 'plugin',
},
});
};
@@ -23,6 +24,7 @@ export const switchOrg = async (username) => {
path: 'user',
key: 'switchOrg',
data: {
loginType: 'plugin',
username,
},
});