chore: 个人中心强退设备接口路径

This commit is contained in:
dap 2024-11-22 16:09:24 +08:00
parent 28f8ee440d
commit 8a64165a2a

View File

@ -36,5 +36,5 @@ export function forceLogout(tokenId: string) {
* @returns void
*/
export function forceLogout2(tokenId: string) {
return requestClient.postWithMsg<void>(`${Api.root}/${tokenId}`);
return requestClient.deleteWithMsg<void>(`${Api.root}/myself/${tokenId}`);
}