From 42dd16eda9e8be716e6a471d615e428a3b7699b1 Mon Sep 17 00:00:00 2001 From: nishengli Date: Sat, 7 Oct 2023 09:30:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tsl3060/open/extend/core/notify/CarbonOrderNotify.java | 6 +++--- 1 file changed, 3 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 b374555..9b71b53 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 @@ -28,7 +28,7 @@ public class CarbonOrderNotify { * 本次订单新增积分 */ @JSONField(name = "amount") - private double amount; + private String amount; /** * 订单时间 */ @@ -77,11 +77,11 @@ public class CarbonOrderNotify { this.carbon = carbon; } - public double getAmount() { + public String getAmount() { return amount; } - public void setAmount(double amount) { + public void setAmount(String amount) { this.amount = amount; }