update 优化 个人中心强退接口路径

Signed-off-by: 疯狂的狮子Li <15040126243@163.com>
This commit is contained in:
疯狂的狮子Li
2024-11-23 02:36:53 +00:00
committed by Gitee
parent 4e84b0d65e
commit 591db0bdd2

View File

@@ -112,7 +112,7 @@ public class SysUserOnlineController extends BaseController {
* @param tokenId token值
*/
@Log(title = "在线设备", businessType = BusinessType.FORCE)
@PostMapping("/{tokenId}")
@DeleteMapping("/myself/{tokenId}")
public R<Void> remove(@PathVariable("tokenId") String tokenId) {
try {
// 获取指定账号 id 的 token 集合