Files
senmesh-zc/README.md

29 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# senmesh-zc(信创文件安全传输系统 · 合并仓库)
光闸内外网文件摆渡系统,前后端合并仓库:
| 目录 | 项目 | 说明 | 技术栈 |
|---|---|---|---|
| `backend/` | s-file(原 alita-bjy-uygur) | 服务端:文件传输/网盘/机构用户管理/MeshSafe 安全检测对接 | Java 8 + Spring Boot 2.4.2 + MyBatis-Plus + PG/DM8 |
| `frontend/` | senmesh-zc-legacy | Web 前端:我的文件/分享/内外网传输/管理端 | React 19 + Vite + TanStack Router/Query + shadcn/ui |
> 两端保留原仓库完整提交历史(子目录导入),`git log --follow` 可追溯。
## 本地启动
```bash
# 后端(需 JDK8,本地联调配置见 backend/docker-test/application-local.yml)
cd backend && mvn spring-boot:run
# 前端(dev 代理 /api -> localhost:8081)
cd frontend && bun install && bun dev
```
## 文件安全检测(MeshSafe)
独立检测服务,上传/传输接收解包后自动送检,检测不通过的文件禁止分享与传输(文件夹可确认跳过,仅传通过内容);支持人工复核与重新检测。
- 后端配置:`backend/docker-test/application.yml` 的 `meshsafe:` 段(`enabled` 总开关)
- 接口文档:`backend/docs/接口文档-文件安全检测.md`
- 数据库脚本:`backend/db/`(init 全量 + upgrade 增量,双写 MySQL/PG)