liuxiulin 10 ヶ月 前
コミット
e6567f862e
1 ファイル変更1 行追加0 行削除
  1. 1 0
      services/apiprovider/actions.go

+ 1 - 0
services/apiprovider/actions.go

@@ -155,6 +155,7 @@ func DeviceUpgrade(device *models.Device, urlparams martini.Params, req *http.Re
 		r.JSON(http.StatusOK, renderError(ErrWrongRequestFormat, err))
 		return
 	}
+	server.Log.Infof("设备OTA升级:%s, %s", param.DeviceId, param.Version)
 	var args rpcs.ArgsDeviceUpgrade
 	args.DeviceId = param.DeviceId
 	args.SudDeviceId = param.SubDeviceId