zou.yingbin 4 роки тому
батько
коміт
18fba4b084
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      controllers/other/logfilelist.go

+ 2 - 0
controllers/other/logfilelist.go

@@ -30,6 +30,8 @@ func LogList(c *gin.Context) {
 
 	const templateText = `
 <h1>go查询服务信息</h1>
+<a href="{{.host}}/debug/update" title="点击后从自动构建服务拉取版本升级并重启GO服务, 请谨慎点击" target="_blank">点击升级到最新版本</a>
+<p>===========================</p>
 version : {{.version}}<br>
 git hash: {{.githash}}<br>
 oracle : {{.db}} <br>