refactor: 目录结构重构和清理 (v2.0.2)

新增目录:
- docs/legacy/ - 废弃文档归档
- scripts/ - 管理脚本和测试脚本
- build/ - 构建输出目录

文件移动:
- GO_REFACTOR_PROGRESS.md -> docs/legacy/
- OPTIMIZATION_REPORT.md -> docs/legacy/
- sms-receiver-go-ctl.sh -> scripts/
- test_api.sh -> scripts/

改进:
- 更新 .gitignore 忽略运行时文件
- 新增 CHANGELOG.md 独立变更日志
- 更新 README.md 目录结构说明
- 更新 Makefile 版本号到 v2.0.2
- 更新管理脚本路径引用

清理:
- 从仓库中移除二进制文件
- 从仓库中移除数据库文件
- 从仓库中移除日志文件
- 从仓库中移除配置文件
This commit is contained in:
OpenClaw Agent
2026-02-12 12:19:05 +08:00
parent b29a7bbc63
commit b973bdaf47
17 changed files with 190 additions and 135 deletions

View File

@@ -5,7 +5,7 @@ APP_NAME := sms-receiver-v2
MAIN_FILE := main.go
# 版本信息
VERSION := v2.0.1
VERSION := v2.0.2
BUILD_TIME := $(shell date +%Y-%m-%d\ %H:%M:%S)
GIT_COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
GO_VERSION := $(shell go version | awk '{print $$3}')