marsal
4dbc190f68
fix(db): V16 补充 conversation 租户时间索引,脚本使用 MYSQL_PWD 避免密码暴露,增加生产部署提示
2026-07-07 18:50:26 +08:00
marsal
3b45a669f9
feat(db): V15 为高频表添加 RANGE 月分区
2026-07-07 18:34:47 +08:00
marsal
3b5ddc8f74
fix(build): Dockerfile 改为 jar-only 构建,修复策略组 DTO policies 类型为 List<Map<String,Object>>
2026-07-07 18:21:28 +08:00
marsal
d43fbbcc3c
feat(mci-server): Phase 1 数据模型调整
...
- 新增 V11 媒体文件表 mci_message_media 及实体/Mapper
- 新增 V12 建群任务表 mci_conversation_create_task 及实体/Mapper
- 新增 V13 策略组表 mci_policy_group 及实体/Mapper/Service/Controller
- V14 将 mci_flow_definition.flow_type 由 VARCHAR 迁移为 TINYINT,实体改为 Integer
- FlowDefinitionService 兼容字符串/数值 flowType,FlowEngine 按数值 1 过滤入站流程
- MybatisPlusConfig 增加 message、policy 仓库扫描包
2026-07-07 18:06:59 +08:00
marsal
0795979ba5
fix(docker): mci-server Dockerfile 复制并构建 mci-channel-wecom 模块
2026-07-07 17:41:12 +08:00
marsal
a0db14fb2b
feat(channel): 新增 mci-channel-wecom 模块及 WeComChannelAdapter 桩实现
2026-07-07 17:37:01 +08:00
marsal
616f5fd2d3
docs(architecture): 提交消息与客户互动中台架构设计文档
2026-07-07 17:29:44 +08:00
marsal
403f7b0620
fix(build): 移除 backend/pom.xml 中缺失的渠道子模块声明
...
当前仓库仅存在 mci-shared、mci-channel-common、mci-server,
删除不存在的 mci-channel-wecom/dingtalk/feishu/ivr 模块,
使根目录 [INFO] Scanning for projects...
[ERROR] [ERROR] Could not find the selected project in the reactor: mci-server @
[ERROR] Could not find the selected project in the reactor: mci-server -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException 可正常执行。
2026-07-07 17:29:31 +08:00
marsal
bccd32ea73
fix(health): 添加 /api/v1/health 端点并修正 mci-server 健康检查
...
- HealthController: 提供无鉴权健康检查接口,返回 {status: ok}
- AuthInterceptor/WebConfig: 放行 /api/v1/health
- docker-compose.yml: mci-server 健康检查地址改为 /msg-platform/api/v1/health
注意:mci-server Docker 镜像当前因 Maven Central 无法解析 spring-boot-maven-plugin:4.1.0 而无法重新构建,健康检查修复已入库,待网络恢复后重新构建即可生效。
2026-07-07 16:13:44 +08:00
marsal
24a70eb530
fix(task12): 修复前端登录租户编码透传、补充 tenant_admin 角色迁移与外部 API 测试脚本
...
- admin-web/api/client.ts: 请求拦截器仅在未显式传入 X-Tenant-Code 时使用 localStorage 默认值
- admin-web/api/account.ts: login 显式携带租户编码请求头,解决浏览器登录 401
- db/migration/V10: 新增 tenant_admin 平台角色,供外部 API 测试创建租户管理员
- scripts/test-external-api.sh: 创建租户后自动创建管理员并登录,后续接口使用 Bearer Token
- docs/superpowers/plans: 提交总体规划与 Task 12 测试计划
2026-07-07 16:08:20 +08:00
marsal
cc4e5bcc2f
feat(web): add message test module
2026-07-07 15:42:14 +08:00
marsal
2180fc4354
feat(web): add Vue Flow editor and flow trace viewer
2026-07-07 15:39:14 +08:00
marsal
6921f0d3e4
feat(web): improve send record UX with dropdowns
2026-07-07 15:36:56 +08:00
marsal
9a1565dd8d
feat(web): load real data in dashboard and list pages
2026-07-07 15:34:35 +08:00
marsal
d0e9f5fb42
feat(web): add tenant and user management pages
2026-07-07 15:30:20 +08:00
marsal
e731ee7a2e
feat(web): add login, auth store and router guard
2026-07-07 15:25:47 +08:00
marsal
bcef04a8cc
feat(web): add pinia/vue-flow deps and update API layer
2026-07-07 15:22:05 +08:00
marsal
891ded382e
feat(inbound): add flow execution trace recording and query
2026-07-07 15:18:55 +08:00
marsal
ee82e6e447
feat(api): add list endpoints and dashboard stats
2026-07-07 15:12:05 +08:00
marsal
dfce1be9b2
feat(auth): return Sa-Token on login and add tenant/user list APIs
2026-07-07 15:06:13 +08:00
marsal
f50a3fd0c9
feat(auth): replace JWT with Sa-Token, add auth context and interceptor
2026-07-07 14:52:18 +08:00
marsal
14c2c3095b
docs(plan): self-review admin-web auth/tenant/flow plan
2026-07-07 14:44:40 +08:00
marsal
03ba46a0a3
docs: add comprehensive admin-web auth, flow diagram and message testing design
2026-07-07 14:23:48 +08:00
marsal
d4ee166caf
docs: add admin-web fill-out design
2026-07-07 14:14:50 +08:00
marsal
fa8e402b57
chore: remove unused k8s deployment manifests
2026-07-07 14:10:41 +08:00
marsal
51a373e06c
chore: consolidate docker-compose and add integration tests
...
- Merge infrastructure/docker-compose.yml + docker-compose.app.yml into root docker-compose.yml with profiles (infra/app).
- Add healthchecks for mysql/redis/rabbitmq/mci-server/channel-service and depends_on conditions.
- Rewrite scripts/local-up.sh to use profiles and wait for healthy states.
- Add curl to mci-server and channel-service Docker images for healthchecks.
- Add npm test script to admin-web (type-check + build smoke test).
- Add scripts/test-external-api.sh covering 11 API endpoints.
- Verify Java (7/7), Python (6/6), npm build, external API (11/11), and UI flows.
2026-07-07 13:35:41 +08:00
marsal
033580aa52
docs: add compose consolidation and test plan spec
2026-07-07 13:15:18 +08:00
marsal
bef2f32cff
fix(deploy): attach infra services to shared mci-network and fix mci-server Dockerfile
...
- Add mci-network to infrastructure services so app services can resolve mci-mysql
- Remove cross-project depends_on from docker-compose.app.yml
- Copy parent pom.xml in mci-server Dockerfile so child modules resolve sino-mci-parent
- Fix typo in local-up.sh RabbitMQ retry counter
2026-07-07 13:09:58 +08:00
marsal
91d5c29f23
feat(admin-web): add Vue 3 admin console and deployment configs
...
- Add admin-web/ with Vite + Vue 3 + Element Plus + Vue Router
- Add 8 management pages: dashboard, channel subject/account, conversation,
person, tag, send record (with test send), inbound flow
- Add API client modules for account/channel/crm/send/flow
- Add Dockerfile and nginx config for admin-web
- Add Dockerfile for mci-server
- Add docker-compose.app.yml for one-command app deployment
- Add K8s deployment manifests for backend/admin-web/channel-service
- Update scripts/local-up.sh with shared network and --with-apps option
2026-07-07 12:42:17 +08:00
marsal
bd0ac464cf
feat(channel-service): add Python FastAPI pywechat channel service
...
- Add FastAPI project under channel-service/
- Implement mock pywechat client adapter (login, send, heartbeat)
- Add /v1/wechat-personal/login/*, /v1/wechat-personal/send/* APIs
- Add /v1/heartbeat and /v1/monitor/status for client health
- Add /monitor HTML page with Web Components
- Add pytest suite and Dockerfile
- Update .gitignore for Python/Node artifacts
2026-07-07 12:36:54 +08:00
marsal
df2d253c7b
feat(send): add outbound send and send record APIs
...
- Add mci_send_record table and entity/mapper
- Add SendService with target resolution (conversation/person/person_list/tag/rule)
- Add /api/v1/send, /api/v1/send/test, /api/v1/send/{task_id}/records
- Add test send simulation without channel dispatch
- Dispatch real sends through ChannelAdapterRegistry (placeholder until Phase 6)
- Add SendControllerTest and fix missing deleted column on account-conversation binding
2026-07-07 12:24:05 +08:00
marsal
953d36fe2c
feat(inbound): add flow definition, message event, intent recognition and webhook push
2026-07-07 12:15:27 +08:00
marsal
3f2c0d7d16
feat(crm): add person, identity, conversation, tag tables and APIs
2026-07-07 12:06:19 +08:00
marsal
855f77595d
feat(channel): add channel-common SPI, channel tables, subject/account APIs and WeCom callback placeholder
2026-07-07 11:55:53 +08:00
marsal
5828404418
fix(account): secure login response, add validation, global exception handler
2026-07-07 11:48:42 +08:00
marsal
4f9b3aa211
fix(test): use Spring Boot 4 AutoConfigureMockMvc package and remove stub
2026-07-07 11:25:07 +08:00
marsal
6a94f53ff0
feat(admin): implement tenant/user/role account APIs
2026-07-07 11:23:29 +08:00
marsal
56f8ab9e8e
feat(admin): add MetaObjectHandler and explicit UserRole PK/auto-fill
2026-07-06 18:37:04 +08:00
marsal
63c47425e0
feat(admin): add account entities and MyBatis mappers
2026-07-06 18:31:31 +08:00
marsal
ed2390e4ad
fix(db): add deleted column to mci_platform_role
2026-07-06 18:23:00 +08:00
marsal
91d96e0819
fix(db): align migrations with entity model and idempotency
2026-07-06 18:16:24 +08:00
marsal
774c0ff8dd
feat(db): add account and role Flyway migrations
2026-07-06 18:06:48 +08:00
marsal
37b0a33f17
chore: activate dev profile by default in application.yml
2026-07-06 17:48:41 +08:00
marsal
0d3753fa5a
chore: use docker exec for Redis readiness check in local-up.sh
2026-07-06 17:45:42 +08:00
marsal
397b9994d7
chore: align local-up.sh with spec
2026-07-06 17:41:43 +08:00
marsal
285edf9927
chore: add dev configs and local infrastructure
2026-07-06 17:37:13 +08:00
marsal
6662a572e5
feat(server): add mci-server module with Spring Boot 4.1
2026-07-06 17:12:59 +08:00
marsal
71079d4988
feat(shared): add BaseEntity and ApiResponse
2026-07-06 16:58:23 +08:00
marsal
a7ccb8299c
feat(shared): add BaseEntity and ApiResponse
2026-07-06 16:36:56 +08:00
marsal
b0828f0341
chore: add Maven 4 parent POM for sino-mci
2026-07-06 16:24:20 +08:00