From efc82fd229e1c88711b0463db40b8e6222f9e5b2 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 05 Jun 2024 16:33:59 +0800
Subject: [PATCH] 部署香港服务器

---
 src/main/java/cc/mrbird/febs/dapp/controller/ApiDappMemberController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/dapp/controller/ApiDappMemberController.java b/src/main/java/cc/mrbird/febs/dapp/controller/ApiDappMemberController.java
index 9638145..12bfe0b 100644
--- a/src/main/java/cc/mrbird/febs/dapp/controller/ApiDappMemberController.java
+++ b/src/main/java/cc/mrbird/febs/dapp/controller/ApiDappMemberController.java
@@ -66,7 +66,7 @@
 
     @ApiOperation(value = "提现", notes = "提现")
     @PostMapping(value = "/withdraw")
-    public FebsResponse withdraw(@RequestBody WithdrawDto withdrawDto) {
+    public FebsResponse withdraw(@RequestBody @Valid WithdrawDto withdrawDto) {
         dappWalletService.withdraw(withdrawDto);
         return new FebsResponse().success().message("success");
     }
@@ -84,6 +84,7 @@
     public FebsResponse logout() {
         DappMemberEntity member = LoginUserUtil.getAppUser();
         redisUtils.hdel(AppContants.REDIS_KEY_SIGN, member.getAddress());
+        redisUtils.hdel(AppContants.REDIS_KEY_MEMBER_INFO, member.getAddress());
         return new FebsResponse().success();
     }
 

--
Gitblit v1.9.1