Commit b2359f50 authored by szh's avatar szh

部分需手动重启树莓派的操作都改成自动重启

parent 5be21cb2
...@@ -237,12 +237,6 @@ func UpdatePaiNew(c *gin.Context) { ...@@ -237,12 +237,6 @@ func UpdatePaiNew(c *gin.Context) {
appG.Response(http.StatusOK, e.SUCCESS, nil) appG.Response(http.StatusOK, e.SUCCESS, nil)
} }
func IsReBoot(c *gin.Context) {
appG := app.Gin{C:c}
appG.Response(http.StatusOK, e.SUCCESS, gin.H{
"status":app.IsReboot,
})
}
func GetDPercent(c *gin.Context) { func GetDPercent(c *gin.Context) {
appG := app.Gin{C:c} appG := app.Gin{C:c}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment