From 610c76c7d87d0140a21bb10d644597f615d9d8c5 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Tue, 01 Apr 2025 17:47:00 +0800
Subject: [PATCH] 1

---
 src/main/java/project/web/api/WalletGatherController.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/main/java/project/web/api/WalletGatherController.java b/src/main/java/project/web/api/WalletGatherController.java
index 9c09d4e..d3532c5 100644
--- a/src/main/java/project/web/api/WalletGatherController.java
+++ b/src/main/java/project/web/api/WalletGatherController.java
@@ -1,6 +1,7 @@
 package project.web.api;
 
 import kernel.web.BaseAction;
+import kernel.web.ResultObject;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -10,6 +11,7 @@
 import project.party.PartyService;
 import project.redis.RedisHandler;
 import project.syspara.SysparaService;
+import project.wallet.WalletGather;
 import project.wallet.WalletGatherService;
 import project.wallet.WalletService;
 import project.wallet.internal.WalletGatherServiceImpl;
@@ -48,10 +50,13 @@
      * @return
      */
     @GetMapping(action + "get.action")
-    public Object get(HttpServletRequest request)  throws IOException {
+    public ResultObject get(HttpServletRequest request)  throws IOException {
         String partyId = this.getLoginPartyId();
         WalletGatherService walletGatherService = new WalletGatherServiceImpl(jdbcTemplate,redisHandler,walletService);
-        return walletGatherService.getWalletGatherByPartyId(partyId,dataService);
+        WalletGather walletGather = walletGatherService.getWalletGatherByPartyId(partyId, dataService);
+        ResultObject resultObject = new ResultObject();
+        resultObject.setData(walletGather);
+        return resultObject;
     }
 
     @PostMapping(action + "transfer.action")

--
Gitblit v1.9.3