sixian 2 anni fa
parent
commit
6528b72186
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/device/service/workbenchService.go

+ 1 - 1
app/device/service/workbenchService.go

@@ -87,7 +87,7 @@ func (s *workbenchService) LightRate(tenantId int, req model.ReqLightRates) (*mo
 		})
 	}
 	rsp := model.RspLightRate{
-		lightRate, energy,
+		LightRate: lightRate, Energy: energy,
 	}
 	return &rsp, nil
 }