Files
jx-callback/gen_param_parser.sh
邹宗楠 48e0b2d749 1
2025-11-18 11:20:16 +08:00

13 lines
352 B
Bash
Executable File
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.
if [ -f "controllers/param_parser.go" ]; then
rm controllers/param_parser.go
fi
if ! command -v bee &> /dev/null; then
echo "错误bee 命令未找到,尝试安装..."
export PATH=$PATH:$(go env GOPATH)/bin
go install github.com/ahmetb/govvv@latest
fi
bee generate docs
cp swagger/param_parser.go.txt controllers/param_parser.go