Explorar el Código

chore: update workspace configuration and architecture canvas

- Added new last opened files in workspace.json for improved accessibility.
- Updated the color attributes in architecture.canvas for better visual distinction of modules.
- Updated submodule reference for tk-admin-service-master to the latest commit.
yb hace 3 semanas
padre
commit
47902438ff
Se han modificado 3 ficheros con 12 adiciones y 12 borrados
  1. 5 5
      .obsidian/workspace.json
  2. 6 6
      pwtk/architecture.canvas
  3. 1 1
      pwtk/tk-admin-service-master

+ 5 - 5
.obsidian/workspace.json

@@ -181,6 +181,10 @@
   },
   "active": "cf8a89fa88ac988b",
   "lastOpenFiles": [
+    "pwtk/pwtk-super-admin-web/CLAUDE.md",
+    "pwtk/pwtk-admin-web/CLAUDE.md",
+    "pwtk/tk-admin-service-master/CLAUDE.md",
+    "pwtk/architecture.canvas.tmp.63721.1767685445959",
     "pwtk/architecture.canvas",
     "pwtk/CLAUDE.md",
     "pwtk/tk-admin-service-master/webgw-boot/src/main/java/com/pw/pwtk/ServiceApplication.java",
@@ -192,7 +196,6 @@
     "pwtk/tk-admin-service-master/webgw-boot/src/main/resources/indices/pwtk_bbs.yml",
     "pwtk/tk-admin-service-master/webgw-boot/src/main/java/com/pw",
     "pwtk/tk-admin-service-master/webgw-boot/src/main/resources/static",
-    "pwtk/tk-admin-service-master/webgw-boot/src/main/resources/logback.xml",
     "pwtk/tk-admin-service-master/COLA_应用架构组件图.png",
     "pwtk/tk-admin-service-master/README.md",
     "pwtk/architecture-v1.canvas",
@@ -228,14 +231,11 @@
     "pwtk/pwtk-admin-web/README.md",
     "pwtk/pwtk-admin-web_bak/discuss-2025-01-02.md",
     "pwtk/pwtk-admin-web_bak/architecture-v1.canvas",
-    "tg-live-game/tg-live-game-hono/workflow.md",
     "tg-live-game/tg-live-game-hono/d1-database.canvas",
-    "tg-live-game/tg-live-game-hono/CLAUDE.md",
     "tg-live-game/tg-live-game-hono/auth-system.canvas",
     "tg-live-game/tg-live-game-hono/architecture.canvas",
     "tg-live-game/tg-live-game-hono_bak/d1-database.canvas",
     "tg-live-game/tg-live-game-hono_bak/auth-system.canvas",
-    "tg-live-game/tg-live-game-hono_bak/architecture.canvas",
-    "askyi/architecture.canvas"
+    "tg-live-game/tg-live-game-hono_bak/architecture.canvas"
   ]
 }

+ 6 - 6
pwtk/architecture.canvas

@@ -1,13 +1,13 @@
 {
 	"nodes":[
-		{"id":"api_layer","type":"text","text":"## API 接口层\n\n| 模块 | 功能 |\n|------|------|\n| advertisement | 广告 |\n| betting | 竞猜 |\n| bss | 业务支撑 |\n| chat | 聊天 |\n| expert | 专家 |\n| live | 直播 |\n| login | 登录 |\n| messageNotice | 消息 |\n| photoSys | 图库 |\n| site | 网站 |\n| system | 系统 |\n| task | 任务 |\n| user | 用户 |\n| video | 视频 |\n| webgw | 网关 |","x":2200,"y":-1750,"width":350,"height":590,"color":"1"},
+		{"id":"api_layer","type":"text","text":"## API 接口层\n\n| 模块 | 功能 |\n|------|------|\n| advertisement | 广告 |\n| betting | 竞猜 |\n| bss | 业务支撑 |\n| chat | 聊天 |\n| expert | 专家 |\n| live | 直播 |\n| login | 登录 |\n| messageNotice | 消息 |\n| photoSys | 图库 |\n| site | 网站 |\n| system | 系统 |\n| task | 任务 |\n| user | 用户 |\n| video | 视频 |\n| webgw | 网关 |","x":2200,"y":-1750,"width":350,"height":590,"color":"6"},
 		{"id":"bbs_module","type":"text","text":"## Bbs 论坛管理\n\n**bbsMainboard/** 论坛主版\n- index.vue\n\n**bbsForum/** 论坛管理\n- index.vue\n\n**bbsAttachmentManagement/** 附件\n- index.vue\n\n**bbsPostContentManagement/** 帖子\n- index.vue 帖子列表\n- editPostContentDialog/ 编辑\n- auditDialog/ 审核\n- bbsPostConfig/ 配置\n- comments.vue 评论\n- phoneFrame.vue 手机预览\n- **new/** 新建帖子\n  - addBBSPostDialog.vue\n  - BBSPostForm.vue\n  - postEditor.vue\n  - gamePage.vue\n  - lottery/ 彩票组件\n- **components/** 评论组件\n  - post-comments.vue\n  - commentItemBox/Form\n  - upIconToggle/downIconToggle\n- **explain-components/** 图解\n- **issue-components/** 期号\n\n**bbsInfo/** 论坛信息\n- index.vue\n\n**bbsCommentsList/** 评论列表\n- index.vue\n\n**photoExplain/** 图解管理\n- index.vue 图解列表\n- addExplain.vue\n- editExplain.vue\n- chooseIssue.vue\n- commentExplain.vue\n- explainEditPage/","x":1600,"y":-4720,"width":300,"height":1340,"color":"3"},
 		{"id":"photo_module","type":"text","text":"## PhotosSys 图库系统\n\n**series/** 系列管理\n- index.vue\n\n**newspaper/** 报纸管理\n- index.vue\n- relatedLayout.vue\n- RecommendSortedList.vue\n\n**newsPaperIssue/** 期刊发布\n- index.vue 期刊列表\n- batchAddIssues/ 批量添加\n- IssueDialog.vue\n- IssueForm.vue\n- IssueImageUploader.vue\n- CommentTab.vue\n- chooseExplain.vue\n- clearGameTypeCacheDialog.vue\n\n**issueMappingList/** 期号映射\n- index.vue\n- editDialog.vue\n- batchMappingAdd/ 批量映射\n\n**commentsList/** 评论列表\n- index.vue\n\n**websites/** 站点管理\n- index.vue\n\n**guarantee/** 担保管理\n- index.vue\n\n**bbsEncyclopedia/** 百科\n- index.vue\n\n**advertisementList/** 广告\n- index.vue\n- addAdvertisementDailog.vue\n\n**gameResult/** 开奖结果\n- index.vue\n- history.vue 历史记录\n- calendar.vue 日历视图\n- lottoBall.vue / svgLottoBall.vue\n\n**issueVideo/** 期号视频\n- index.vue\n- VideoFormDialog.vue\n- GenericVideoUploader.vue","x":2060,"y":-4720,"width":300,"height":1520,"color":"3"},
 		{"id":"user_module","type":"text","text":"## User 用户管理\n\n**userList/** 用户列表\n- index.vue 用户列表\n- userListComponent.vue\n- **components/**\n  - persionInfo.vue 个人信息\n  - accountInfo.vue 账户信息\n  - achievementShow.vue 成就\n  - phoneInput.vue\n  - blockList.vue 黑名单\n  - followerList.vue 关注\n  - myFans.vue 粉丝\n  - myTeams.vue 团队\n  - userVisiter.vue 访客\n  - anonymousVisiter.vue\n  - userVote.vue 投票\n  - likeList.vue 点赞\n  - favoriteList/ 收藏\n  - myComment/ 评论\n  - browseHistory/ 浏览历史\n  - points/ 积分\n  - stars/ 星星\n  - editPoints/ 编辑积分\n  - ChangePoint/ 积分变更\n  - TagMaster/ 标签大师\n  - SaleLists/ 卖料\n  - BuyingLists/ 买料\n  - cashOutListForUser/ 提现\n  - SMSCodeSend/ 短信\n\n**clientList/** 客户端列表\n- index.vue\n- basicInformation.vue\n- browsingHistory.vue\n- collectionAnonymously.vue\n- followAnonymously.vue\n- likeAnonymously.vue\n- voatAnonymously.vue","x":2520,"y":-4720,"width":300,"height":1240,"color":"5"},
 		{"id":"user_module_2","type":"text","text":"## User 用户管理 (续)\n\n**customerTags/** 用户标签\n- index.vue\n- editCustomerTag/\n\n**memberLevel/** 会员等级\n- index.vue\n- editLevelRule/\n\n**pointsRules/** 积分规则\n- index.vue\n- baseConfigTab/\n  - PointConfigTab.vue\n  - StarConfigTab.vue\n  - TaskRewardConfigTab.vue\n\n**pointDetail/** 积分明细\n- index.vue\n\n**starDetail/** 星星明细\n- index.vue\n\n**activityCenter/** 活动中心\n- index.vue\n- activityCenterDialog/\n\n**leaderboard/** 排行榜\n- index.vue\n- fans/ 粉丝榜\n- leaderPoints/ 积分榜\n- overall/ 综合榜\n- popularity/ 人气榜\n- query/ 查询\n- showLeaderBoard/\n- statusTagUser/\n\n**recommendList/** 推广列表\n- index.vue\n- RecommandConfigDialog.vue\n- RecommandDetailDialog.vue","x":2980,"y":-4720,"width":300,"height":1240,"color":"5"},
-		{"id":"video_module","type":"text","text":"## VideoList 视频管理\n\n**VideoList/** 视频列表\n- index.vue\n- createVideo.vue\n- createVideoDialog.vue\n- editVideo/\n- auditVideo/\n- VideoPlayer.vue\n- VideoHlsPlayer.vue\n- DeferredVideoUploader.vue\n- FileInfo.vue\n- UploadProgress.vue\n- VideoFileInput.vue\n\n**VideoTagList/** 视频标签\n- index.vue\n- createVideoTag.vue\n- videoTagDialog.vue","x":220,"y":-4720,"width":300,"height":560,"color":"1"},
-		{"id":"chat_module","type":"text","text":"## ChatroomSystem 聊天室\n\n**chatroomList/** 聊天室列表\n- index.vue\n- createRoomDialog.vue\n- createChatRoom.vue\n- createLiveRoom.vue\n- createVoiceRoom.vue\n- rulesConfigDialog.vue\n- whiteConfigDialog.vue\n- whiteListUserAutocomplete.vue\n- selectGameSerialNo/\n- selectIssueId/\n- selectNewspaperCode/\n\n**batchRoomCreator/** 批量创建\n- index.vue\n- addChatroomNameDialog.vue\n- addOwnerDialog.vue\n- mPopover.vue\n\n**chatroomUserManagement/** 成员\n- index.vue\n\n**chatroomMsgList/** 消息列表\n- index.vue\n\n**chatroomMsgManagement/** 消息管理\n- index.vue","x":-760,"y":-4720,"width":360,"height":840,"color":"1"},
-		{"id":"live_module","type":"text","text":"## LiveRoomManagement 直播\n\n**liveRoomList/** 直播列表\n- index.vue\n\n**liveRoomUserManagement/** 成员\n- index.vue\n\n**liveRoomMsgList/** 消息列表\n- index.vue\n\n**liveRoomMessageManagement/** 消息管理\n- index.vue","x":-240,"y":-4720,"width":300,"height":480,"color":"1"},
+		{"id":"video_module","type":"text","text":"## VideoList 视频管理\n\n**VideoList/** 视频列表\n- index.vue\n- createVideo.vue\n- createVideoDialog.vue\n- editVideo/\n- auditVideo/\n- VideoPlayer.vue\n- VideoHlsPlayer.vue\n- DeferredVideoUploader.vue\n- FileInfo.vue\n- UploadProgress.vue\n- VideoFileInput.vue\n\n**VideoTagList/** 视频标签\n- index.vue\n- createVideoTag.vue\n- videoTagDialog.vue","x":220,"y":-4720,"width":300,"height":560,"color":"3"},
+		{"id":"chat_module","type":"text","text":"## ChatroomSystem 聊天室\n\n**chatroomList/** 聊天室列表\n- index.vue\n- createRoomDialog.vue\n- createChatRoom.vue\n- createLiveRoom.vue\n- createVoiceRoom.vue\n- rulesConfigDialog.vue\n- whiteConfigDialog.vue\n- whiteListUserAutocomplete.vue\n- selectGameSerialNo/\n- selectIssueId/\n- selectNewspaperCode/\n\n**batchRoomCreator/** 批量创建\n- index.vue\n- addChatroomNameDialog.vue\n- addOwnerDialog.vue\n- mPopover.vue\n\n**chatroomUserManagement/** 成员\n- index.vue\n\n**chatroomMsgList/** 消息列表\n- index.vue\n\n**chatroomMsgManagement/** 消息管理\n- index.vue","x":-760,"y":-4720,"width":360,"height":840,"color":"3"},
+		{"id":"live_module","type":"text","text":"## LiveRoomManagement 直播\n\n**liveRoomList/** 直播列表\n- index.vue\n\n**liveRoomUserManagement/** 成员\n- index.vue\n\n**liveRoomMsgList/** 消息列表\n- index.vue\n\n**liveRoomMessageManagement/** 消息管理\n- index.vue","x":-240,"y":-4720,"width":300,"height":480,"color":"3"},
 		{"id":"system_module","type":"text","text":"## System 系统管理\n\n**account/** 账号管理\n- index.vue 账号列表\n- addUserDialog.vue 添加用户\n\n**roles.vue** 角色管理\n**resource** 资源管理 (路由内嵌)\n\n**gameTypeManage/** 彩种管理\n- index.vue 彩种列表\n- addGameType/ 添加彩种\n- editGameType/ 编辑彩种\n\n**operationLog.vue** 操作日志\n**task.vue** 任务调度\n**taskPush/** 任务推送\n**ipAddress/** IP地址管理\n**uploadLog/** 上传日志\n**dictionary.vue** 字典配置\n**SMSManage/** 短信管理\n**sensitiveWord/** 敏感词管理","x":680,"y":-4720,"width":300,"height":600,"color":"2"},
 		{"id":"ad_module","type":"text","text":"## AdvertisementManagement 广告\n\n**index.vue** 广告管理\n- AdvertisementSortedList.vue\n- addAdvertisementDialog.vue","x":4820,"y":-4720,"width":300,"height":230,"color":"4"},
 		{"id":"site_module","type":"text","text":"## Site 网站管理\n\n**codeManagement/** 推广码\n- index.vue 推广码列表\n\n**templateManagement/** 模板管理\n- index.vue 模板列表\n- addTemplateDailog.vue\n- templatePath.vue\n- sketchRef.vue\n- codeStaticDailog.vue\n\n**sketchManagement/** 草图管理\n- index.vue 草图列表\n- sketchInfo.vue\n- sketchPath.vue\n\n**siteManagement/** 站点管理\n- index.vue 站点列表\n- addWebsite.vue\n- domainTab.vue\n- bindTemplateDetail.vue\n- sketchTemplateDetail.vue\n\n**Domain/** 域名管理\n- index.vue 域名列表\n- DomainInformationTabs.vue\n- SketchBand/TemplateBand/WebsiteBand\n\n**Navi/** 导航站\n- navigationConfig.vue\n- naviNestedTable.vue\n\n**componentBase/** 页面组件库\n- index.vue\n- viewComponent.vue","x":1140,"y":-4720,"width":300,"height":1060,"color":"2"},
@@ -26,7 +26,7 @@
 		{"id":"testing","type":"text","text":"## 测试体系\n\n**单元测试 (Vitest)**\n```\ntests/unit/utils/\n├── dataFormat.spec.ts\n├── validators.spec.ts\n├── getCid.spec.ts\n└── ... (18个测试文件)\n```\n\n**E2E测试 (Playwright)**\n```\ntests/e2e/\n├── auth/\n├── mocks/\n└── core/\n```\n\n**命令**\n- pnpm test\n- pnpm test:coverage\n- pnpm test:e2e","x":-3295,"y":-4505,"width":370,"height":610,"color":"1"},
 		{"id":"assets","type":"text","text":"## 静态资源\n\n**CSS样式**\n- main.less 入口\n- base.less 基础 (9K)\n- global.less 全局 (10K)\n- reset.css 重置\n- skin.css 皮肤 (68K)\n\n**字体图标**\n- iconfont/ 自定义图标\n\n**图片资源**\n- images/ (41个文件)\n\n**JSON数据**\n- json/ 静态数据","x":-2772,"y":-4495,"width":395,"height":500,"color":"3"},
 		{"id":"directives","type":"text","text":"## 自定义指令\n\n- **v-copy** 复制到剪贴板\n- **v-permission** 权限控制","x":-2005,"y":-3910,"width":240,"height":140,"color":"3"},
-		{"id":"http_service","type":"text","text":"## HTTP 服务层\n\n**Axios 封装**\n- 请求/响应拦截器\n- Token 自动注入\n- 错误统一处理\n- Loading 全局遮罩\n\n**多服务支持**\n- apiPath 主API\n- chatApiPath 聊天服务\n- taskApiPath 任务服务\n- videoApiPath 视频服务\n- liveApiPath 直播服务\n- audioConvertToolUrl 音频转换","x":2220,"y":-640,"width":300,"height":470,"color":"1"},
+		{"id":"http_service","type":"text","text":"## HTTP 服务层\n\n**Axios 封装**\n- 请求/响应拦截器\n- Token 自动注入\n- 错误统一处理\n- Loading 全局遮罩\n\n**多服务支持**\n- apiPath 主API\n- chatApiPath 聊天服务\n- taskApiPath 任务服务\n- videoApiPath 视频服务\n- liveApiPath 直播服务\n- audioConvertToolUrl 音频转换","x":2220,"y":-640,"width":300,"height":470,"color":"6"},
 		{"id":"vite_config","type":"text","text":"## Vite 构建配置\n\n**插件**\n- @vitejs/plugin-vue\n- unplugin-auto-import\n- unplugin-vue-components\n- unplugin-icons\n- vite-plugin-html\n- vite-plugin-vue-devtools\n\n**代码分割**\n- element-plus 单独分块\n- wangeditor 单独分块\n- vue-vendor (vue/pinia/router)\n- vendor-lodash-utils\n\n**图标集**\n- ep / mdi / ri / ic\n- openmoji / twemoji\n\n**开发服务器**\n- 端口: 8000\n- 代理: VITE_PROXY_DOMAIN","x":2960,"y":-500,"width":300,"height":660,"color":"4"},
 		{"id":"data_flow","type":"text","text":"## 数据流\n\n```\n用户操作\n   ↓\nViews 页面\n   ↓\nComposables/Hooks\n   ↓\nAPI 接口调用\n   ↓\nHTTP Service (Axios)\n   ↓\n后端服务\n   ↓\n响应数据\n   ↓\nPinia Stores\n   ↓\nComponents 更新\n```","x":-765,"y":-585,"width":370,"height":520,"color":"6"},
 		{"id":"architecture","type":"text","text":"## 架构流程\n\n```\n浏览器\n   ↓\nVue Router (路由守卫)\n   ↓\nViews (页面组件)\n   ↓\nComponents (公共组件)\n   ↓\nAPI Layer (Axios)\n   ↓\n后端服务\n```\n\n**认证流程**\n- Cookie: token, cid\n- SSO 单点登录支持","x":-305,"y":-2545,"width":440,"height":610,"color":"6"},
@@ -52,7 +52,7 @@
 		{"id":"constants","type":"text","text":"## 常量配置\n\n**const/**\n- options.ts 选项配置 (9K)\n- options.json 选项数据\n- phone.json 手机号码 (30K)\n- medalMap.ts 勋章映射\n- commonSet.ts 通用设置\n\n**constants/**\n- countryCodeAndPhoneCode.json\n- localStorageKeys.ts\n- sessionStorageKeys.ts","x":-3910,"y":-5060,"width":280,"height":280,"color":"2"},
 		{"id":"types_system","type":"text","text":"## 类型系统\n\n**核心类型 (types/)**\n- GameType.ts 彩种类型\n- Request.ts 请求/响应\n- Models.ts 数据模型\n- Interceptor.ts 拦截器\n\n**全局类型 (global_types/)**\n- global.d.ts 全局声明\n- video-upload.ts 视频上传","x":-3910,"y":-4510,"width":280,"height":280,"color":"4"},
 		{"id":"df8065411e2e3be3","type":"text","text":"","x":6720,"y":-4720,"width":250,"height":540},
-		{"id":"title","type":"text","text":"# PWTK Admin Web 架构 v1\n\n**日期**: 2025-01-02\n**版本**: 1.2.51\n**状态**: 生产环境\n\n技术栈:Vue 3 + TypeScript + Vite\nUI框架:Element Plus + Vant\n\n**Views 模块**: 19个\n**Vue 页面**: 230+\n**公共组件**: 109个","x":-5575,"y":-4890,"width":400,"height":340,"color":"6"}
+		{"id":"title","type":"text","text":"# PWTK Admin Web 架构 v1\n\n**日期**: 2025-01-02\n**版本**: 1.2.51\n**状态**: 生产环境\n\n技术栈:Vue 3 + TypeScript + Vite\nUI框架:Element Plus + Vant\n\n**Views 模块**: 19个\n**Vue 页面**: 230+\n**公共组件**: 109个","x":-5575,"y":-4890,"width":400,"height":340,"color":"1"}
 	],
 	"edges":[
 		{"id":"edge_system_api","fromNode":"system_module","fromSide":"bottom","toNode":"api_layer","toSide":"top","label":"API 调用"},

+ 1 - 1
pwtk/tk-admin-service-master

@@ -1 +1 @@
-Subproject commit 32e0e89f1b42b7b4a3d9751b35c5a77d47466633
+Subproject commit 066a7de0ca83d7452da921ce4e1be883fe6a8906