Selaa lähdekoodia

修改乱码问题

zhouxnsz 9 kuukautta sitten
vanhempi
commit
4a4e05e53e

+ 6 - 0
controllers/other/logfilelist.go

@@ -33,6 +33,11 @@ func LogList(c *gin.Context) {
 	}
 
 	const templateText = `
+<!DOCTYPE html>
+<head>
+    <meta charset="UTF-8">
+</head>
+<body>
 <h1>go查询服务信息</h1>
 <a href="{{.host}}/debug/update" title="点击后从自动构建服务拉取版本升级并重启GO服务, 请谨慎点击" target="_blank">点击升级到最新版本</a>
 <br><br>
@@ -53,6 +58,7 @@ redis  : {{.redis}} <br>
 <p>------------------------</p>
 {{.data}}
 <p>------------------------</p>
+</body>
 `
 	sFile := make([]string, 0)
 	path := config.SerCfg.LogCfg.LogPath

BIN
services/tencent/templates/永坤黄金/网签合同(宇坤)(20250114).docx