|
@@ -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
|