部分重构

This commit is contained in:
2026-03-31 20:06:53 +08:00
parent 6d79836682
commit 498cc78dce
43 changed files with 6049 additions and 131 deletions
+20
View File
@@ -0,0 +1,20 @@
@echo off
echo Starting OPS Backend Development Server...
echo.
:: 设置Go环境变量
set CGO_ENABLED=1
:: 检查dist目录
if not exist ".\dist" mkdir dist
:: 运行开发服务器
echo Starting server with CGO enabled for SQLite...
echo Server will be available at: http://127.0.0.1:8080
echo.
go run ./cmd/ops-server/main.go
echo.
echo Server stopped.
pause