From 3ec572e2cb7adf7d33d2018b24c003d9ef18906a Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期二, 12 十一月 2024 13:32:51 +0800
Subject: [PATCH] 代码提交

---
 xinquan-modules/xinquan-user/src/main/java/com/xinquan/user/controller/client/ClientAppUserWithdrawController.java |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/xinquan-modules/xinquan-user/src/main/java/com/xinquan/user/controller/client/ClientAppUserWithdrawController.java b/xinquan-modules/xinquan-user/src/main/java/com/xinquan/user/controller/client/ClientAppUserWithdrawController.java
index 9e86fb2..74a927a 100644
--- a/xinquan-modules/xinquan-user/src/main/java/com/xinquan/user/controller/client/ClientAppUserWithdrawController.java
+++ b/xinquan-modules/xinquan-user/src/main/java/com/xinquan/user/controller/client/ClientAppUserWithdrawController.java
@@ -91,7 +91,7 @@
             wrapper.in(AppUserWithdraw::getAppUserId,collect);
         }
         if (courseDTO.getPaymentStatus()!=null && courseDTO.getPaymentStatus()==1){
-            wrapper.eq(AppUserWithdraw::getId,0);
+            wrapper.eq(AppUserWithdraw::getWithdrawStatus,0);
         }else if (courseDTO.getPaymentStatus()!=null &&(courseDTO.getPaymentStatus()==2 || courseDTO.getPaymentStatus()==3)){
             List<Integer> integers = new ArrayList<>();
             integers.add(1);
@@ -301,14 +301,14 @@
         Long userId = loginUser.getUserid();
 
         appUserWithdraw.setAppUserId(userId);
-        Boolean flag = redisService.hasKey(CacheConstants.ADD_CARD_PHONE_CODE_PREFIX + appUserWithdraw.getCellPhone());
-        if(!flag){
-            return R.fail("验证码已失效,请重新获取");
-        }
-        String code = redisService.getCacheObject(CacheConstants.ADD_CARD_PHONE_CODE_PREFIX + appUserWithdraw.getCellPhone());
-        if (!appUserWithdraw.getCode().equals(code)) {
-            return R.fail("验证码不正确");
-        }
+//        Boolean flag = redisService.hasKey(CacheConstants.ADD_CARD_PHONE_CODE_PREFIX + appUserWithdraw.getCellPhone());
+//        if(!flag){
+//            return R.fail("验证码已失效,请重新获取");
+//        }
+//        String code = redisService.getCacheObject(CacheConstants.ADD_CARD_PHONE_CODE_PREFIX + appUserWithdraw.getCellPhone());
+//        if (!appUserWithdraw.getCode().equals(code)) {
+//            return R.fail("验证码不正确");
+//        }
         appUserBankService.save(appUserWithdraw);
         return R.ok();
     }

--
Gitblit v1.7.1