fix: 对接登出

This commit is contained in:
ZhuRui
2026-08-07 11:26:49 +08:00
parent 05c3d518fa
commit 117a7f408f
3 changed files with 15 additions and 4 deletions
+7
View File
@@ -10,3 +10,10 @@ export const login = (params: { phone: string; password: string }) => {
data: LoginResult;
}>;
};
export const logout = () => {
return post(`/op/logout`) as Promise<{
code: number | string;
msg: string;
}>;
};