zou.yingbin 4 rokov pred
rodič
commit
cc799c11b4
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      controllers/other/update.go

+ 2 - 0
controllers/other/update.go

@@ -9,6 +9,7 @@ package other
 
 import (
 	"github.com/gin-gonic/gin"
+	"mtp2_if/logger"
 	"net/http"
 	"os"
 	"os/exec"
@@ -30,6 +31,7 @@ func MakeUpdateScript(c *gin.Context) {
 		c.String(http.StatusOK, "windows不支持, 仅支持linux下执行")
 		return
 	}
+	logger.GetLogger().Debug("\n*********************auto update*******************************")
 	IsUpdateing = true
 	defer func() {
 		IsUpdateing = false