Commit 1e3df323 authored by ligaishun's avatar ligaishun

Update node.go

parent d9ca1c22
...@@ -170,7 +170,7 @@ func UpdateDetail(c* gin.Context){ ...@@ -170,7 +170,7 @@ func UpdateDetail(c* gin.Context){
appG.Response(http.StatusOK,e.SUCCESS_RUNNING,app.UpdateInfo) appG.Response(http.StatusOK,e.SUCCESS_RUNNING,app.UpdateInfo)
return return
} }
if app.UpdateInfo=="download latest version failed"{ if app.UpdateInfo.Info=="download latest version failed"{
appG.Response(http.StatusOK,e.NETWORK_ERROR,app.UpdateInfo) appG.Response(http.StatusOK,e.NETWORK_ERROR,app.UpdateInfo)
} }
appG.Response(http.StatusOK,e.SUCCESS,app.UpdateInfo) appG.Response(http.StatusOK,e.SUCCESS,app.UpdateInfo)
......
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