From a626869f148c1332dfaf2d203e2bb65965b8fe46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Tue, 27 Jun 2023 13:18:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(meter):=E4=BF=AE=E6=AD=A3=E5=AF=B9=E4=BA=8E?= =?UTF-8?q?=E8=A1=A8=E8=AE=A1=E5=88=9B=E5=BB=BA=E5=92=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E4=B8=AD=E7=9A=84=E5=86=85=E5=AE=B9=E7=9A=84?= =?UTF-8?q?=E6=8D=95=E8=8E=B7=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vo/meter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vo/meter.go b/vo/meter.go index d1ee990..eaedcbb 100644 --- a/vo/meter.go +++ b/vo/meter.go @@ -11,7 +11,7 @@ type MeterCreationForm struct { Address *string `json:"address"` Ratio decimal.Decimal `json:"ratio"` Seq int64 `json:"seq"` - MeterType int16 `json:"meterType"` + MeterType int16 `json:"type"` Building *string `json:"building"` OnFloor *string `json:"onFloor"` Area decimal.NullDecimal `json:"area"` @@ -24,7 +24,7 @@ type MeterModificationForm struct { Seq int64 `json:"seq"` Ratio decimal.Decimal `json:"ratio"` Enabled bool `json:"enabled"` - MeterType int16 `json:"meterType"` + MeterType int16 `json:"type"` Building *string `json:"building"` OnFloor *string `json:"onFloor"` Area decimal.NullDecimal `json:"area"`