liuxiulin 10 tháng trước cách đây
mục cha
commit
e6567f862e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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