From eff86f41aa7cb17a633556b25bb93a0eb1c00f53 Mon Sep 17 00:00:00 2001 From: nishengli Date: Wed, 27 Sep 2023 19:06:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tsl3060/open/extend/core/notify/CarbonOrderNotify.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/tsl3060/open/extend/core/notify/CarbonOrderNotify.java b/src/main/java/com/tsl3060/open/extend/core/notify/CarbonOrderNotify.java index 4c315c2..b374555 100644 --- a/src/main/java/com/tsl3060/open/extend/core/notify/CarbonOrderNotify.java +++ b/src/main/java/com/tsl3060/open/extend/core/notify/CarbonOrderNotify.java @@ -22,7 +22,7 @@ public class CarbonOrderNotify { * 用户低碳积分 */ @JSONField(name = "carbon") - private double carbon; + private String carbon; /** * 本次订单新增积分 @@ -68,11 +68,12 @@ public class CarbonOrderNotify { this.carbonNo = carbonNo; } - public double getCarbon() { + + public String getCarbon() { return carbon; } - public void setCarbon(double carbon) { + public void setCarbon(String carbon) { this.carbon = carbon; }