This commit is contained in:
邹宗楠
2025-11-18 11:01:40 +08:00
parent 2c4fbe7ba6
commit 733940fa50
5 changed files with 122295 additions and 7 deletions

View File

@@ -2,11 +2,5 @@ if [ -f "controllers/param_parser.go" ]; then
rm controllers/param_parser.go
fi
if ! command -v bee &> /dev/null; then
echo "错误bee 命令未找到,尝试安装..."
go get github.com/beego/bee/v2
export PATH=$PATH:$GOPATH/bin
fi
bee generate docs
cp swagger/param_parser.go.txt controllers/param_parser.go