Commit 880992ba by liimin Committed by 岑成威

refactor: 移除未使用的WebSocket命令和日志监听器

清理不再使用的WebSocket命令(ExecuteSql、LiveLog、FileExplorer)及相关Worker类
移除Logger类中的logListener功能,简化日志写入逻辑
更新RecordService的attributesProvider以使用完整的用户信息
在RecordService中添加updateUserInfo方法以支持用户信息更新时重新初始化
1 parent 4236e4d2
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2026-04-01 15:45:44 * @Date: 2026-04-01 15:45:44
* @Description: * @Description:
* @FilePath: /gl_tape/utils/logger/index.js * @FilePath: /gl_tape/utils/logger/index.js
* @LastEditTime: 2026-04-08 11:13:29 * @LastEditTime: 2026-04-08 11:21:28
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等 * 可以输入预定的版权声明、个性签名、空行等
*/ */
...@@ -17,7 +17,6 @@ class Logger { ...@@ -17,7 +17,6 @@ class Logger {
remote = null remote = null
local = null local = null
fields = [] fields = []
logListener = null
constructor(fields = []) { constructor(fields = []) {
this.fields = fields this.fields = fields
this.init() this.init()
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2026-01-14 16:22:23 * @Date: 2026-01-14 16:22:23
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* @LastEditTime: 2026-04-08 11:14:37 * @LastEditTime: 2026-04-08 11:21:40
* @FilePath: /gl_tape/utils/recordManager/RecordService.js * @FilePath: /gl_tape/utils/recordManager/RecordService.js
*/ */
import { AudioManager, RecordDto, helpler, StrategyFactory, TimeoutService } from './index.js' import { AudioManager, RecordDto, helpler, StrategyFactory, TimeoutService } from './index.js'
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2026-04-01 15:45:43 * @Date: 2026-04-01 15:45:43
* @Description: * @Description:
* @FilePath: /gl_tape/ws/WorkerFactory.js * @FilePath: /gl_tape/ws/WorkerFactory.js
* @LastEditTime: 2026-04-08 11:15:08 * @LastEditTime: 2026-04-08 11:22:00
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等 * 可以输入预定的版权声明、个性签名、空行等
*/ */
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2026-04-01 15:45:43 * @Date: 2026-04-01 15:45:43
* @Description: * @Description:
* @FilePath: /gl_tape/ws/constants.js * @FilePath: /gl_tape/ws/constants.js
* @LastEditTime: 2026-04-08 11:14:58 * @LastEditTime: 2026-04-08 11:21:49
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等 * 可以输入预定的版权声明、个性签名、空行等
*/ */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!