Explorar o código

chore: auto bump version and changelog [skip ci]

iwt hai 2 días
pai
achega
df2a529efd

+ 2 - 2
cfc-backend/src/main/java/com/etotem/cfc/service/EnergyService.java

@@ -1877,7 +1877,7 @@ public class EnergyService {
         }
 
         Map<String, Object> vars = new HashMap<>();
-        vars.put("amount", amount > 0 ? "+" : "") + amount;
+        vars.put("amount", (amount > 0 ? "+" : "") + String.valueOf(amount));
         vars.put("source", sourceType);
         vars.put("description", description);
         notificationDispatchService.sendByTemplate("energy_change", userId, vars, "energyLog", memberId, title, content);
@@ -1908,7 +1908,7 @@ public class EnergyService {
         }
 
         Map<String, Object> vars = new HashMap<>();
-        vars.put("amount", amount > 0 ? "+" : "") + amount;
+        vars.put("amount", (amount > 0 ? "+" : "") + String.valueOf(amount));
         vars.put("source", sourceType);
         vars.put("description", description);
         notificationDispatchService.sendByTemplate("energy_deduction", userId, vars, "energyLog", memberId, title, content);

+ 1 - 1
cfc-backend/src/main/java/com/etotem/cfc/service/PointsService.java

@@ -277,7 +277,7 @@ public class PointsService implements PointsServiceInterface {
         }
 
         Map<String, Object> vars = new HashMap<>();
-        vars.put("amount", amount > 0 ? "+" : "") + amount;
+        vars.put("amount", (amount > 0 ? "+" : "") + String.valueOf(amount));
         vars.put("type", type);
         vars.put("description", description);
         notificationDispatchService.sendByTemplate("points_change", userId, vars, "pointsLog", memberId, title, content);

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-668476859cf601769bc520ec6dc7769eeea6bb98
+ade019c9f12d4a97f8cf24a112c301f70fbd2a42

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1492",
+  "version": "1.0.1493",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.1492",
+      "version": "1.0.1493",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",