From 342488a7cfaab1b40db7b807427c0414babb3de2 Mon Sep 17 00:00:00 2001 From: udieudie Date: Sun, 11 May 2025 00:20:35 +0800 Subject: [PATCH 01/16] =?UTF-8?q?david/feat:=E5=A2=9E=E5=8A=A0=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E6=B5=B7=E9=87=8F=E8=AF=B7=E6=B1=82=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- templates/index.html | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index ca10cef..0556318 100644 --- a/main.go +++ b/main.go @@ -20,7 +20,7 @@ import ( func main() { // 1. 定义并解析命令行参数 var env string - flag.StringVar(&env, "env", "prod", "运行环境(dev/prod)") + flag.StringVar(&env, "env", "dev", "运行环境(dev/prod)") flag.Parse() env = strings.ToLower(env) // 统一转为小写 diff --git a/templates/index.html b/templates/index.html index 3675bac..6dd84a1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -106,6 +106,12 @@ +
+
+
+ + +