유저 조회 접속 상태 표시

유저 조회 kick 처리
This commit is contained in:
2025-04-02 18:02:11 +09:00
parent 73f8448b24
commit 2c693b2503
5 changed files with 161 additions and 65 deletions

View File

@@ -65,6 +65,20 @@ export const UserChangeAdminLevel = async (token, params) => {
}
};
export const UserKick = async (token, params) => {
try {
const res = await Axios.put('/api/v1/users/user-kick', params, {
headers: { Authorization: `Bearer ${token}` },
});
return res.data;
} catch (e) {
if (e instanceof Error) {
throw new Error('UserKick Error', e);
}
}
};
// 아바타 조회
export const UserAvatarView = async (token, guid) => {
try {