吉安感知网项目-前端
罗广辉
2026-03-11 a3f920c3aa61a1bbbdf042163ea194f092ae466d
applications/drone-command/src/utils/auth.js
@@ -1,20 +1,9 @@
/*
 * @Author       : yuan
 * @Date         : 2026-01-06 09:47:09
 * @LastEditors  : yuan
 * @LastEditTime : 2026-01-06 11:03:04
 * @FilePath     : \applications\drone-command\src\utils\auth.js
 * @Description  :
 * Copyright 2026 OBKoro1, All Rights Reserved.
 * 2026-01-06 09:47:09
 */
import Cookies from 'js-cookie';
import Cookies from 'js-cookie'
const TokenKey = 'command-access-token';
const TokenKey = 'command-access-token'
const RefreshTokenKey = 'command-refresh-token';
const SessionId = 'JSESSIONID';
const UserId = 'b-user-id';
export function getToken() {
   return Cookies.get(TokenKey, {
      path: '/'
@@ -46,5 +35,6 @@
}
export function removeRefreshToken() {
   return Cookies.remove(RefreshTokenKey);
}
   return Cookies.remove(RefreshTokenKey)
}