From 4aaadc1b51f14c1022ea8e3fc9dc4a156a9c5f39 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Wed, 13 Aug 2025 18:11:08 +0800
Subject: [PATCH] 更新key 提现新增accsetType

---
 src/main/resources/application.properties                      |    4 ++--
 src/main/resources/mapper/UserWithdrawMapper.xml               |    7 ++++---
 src/main/java/com/nq/pojo/UserWithdraw.java                    |    1 -
 src/main/java/com/nq/service/impl/UserWithdrawServiceImpl.java |    6 +++---
 src/main/resources/mapper/UserRechargeMapper.xml               |    6 +++---
 5 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/main/java/com/nq/pojo/UserWithdraw.java b/src/main/java/com/nq/pojo/UserWithdraw.java
index fe027bb..5f8b93c 100644
--- a/src/main/java/com/nq/pojo/UserWithdraw.java
+++ b/src/main/java/com/nq/pojo/UserWithdraw.java
@@ -49,5 +49,4 @@
 
     @Excel(name = "提现账户类型")
     private String accsetType;
-
 }
\ No newline at end of file
diff --git a/src/main/java/com/nq/service/impl/UserWithdrawServiceImpl.java b/src/main/java/com/nq/service/impl/UserWithdrawServiceImpl.java
index 0f5990c..653bfc1 100644
--- a/src/main/java/com/nq/service/impl/UserWithdrawServiceImpl.java
+++ b/src/main/java/com/nq/service/impl/UserWithdrawServiceImpl.java
@@ -109,7 +109,7 @@
                 return ServerResponse.createByErrorMsg("最小提现金额:" + siteSetting.getWithMinAmt(),request);
             }
 
-            boolean b = getServerResponse();
+            boolean b = getServerResponse(accsetType);
             if (!b) {
                 return ServerResponse.createByErrorMsg("提现失败,当前时间已停止提现", request);
             }
@@ -148,8 +148,8 @@
 
     }
 
-    private boolean getServerResponse() {
-        StockTimeSetting stockTimeSetting = stockTimeSettingMapper.selectOne(new QueryWrapper<StockTimeSetting>().eq("accets_type", EStockType.getDefault().getCode()));
+    private boolean getServerResponse(String accsetType) {
+        StockTimeSetting stockTimeSetting = stockTimeSettingMapper.selectOne(new QueryWrapper<StockTimeSetting>().eq("accets_type", accsetType));
         if (stockTimeSetting == null) {
             return false;
         }
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index e9c2069..df37dee 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -46,7 +46,7 @@
 
 HK_HTTP_API = http://api-hk.js-stock.top/
 HK_WS_URL = ws://api-hk-ws.js-stock.top
-HK_KEY = Ra98BDaCU8kqDQbJ9dK1
+HK_KEY = tdCdEq7PGOSqLf3NMNPv
 
 JS_IN_HTTP_URL = http://api-in-pro.js-stock.top/
 #JS_IN_WS_URL = ws://api-in-pro-ws.js-stock.top
@@ -54,7 +54,7 @@
 
 TW_HTTP_API = http://api-tw.js-stock.top/
 TW_WS_URL = ws://api-tw-ws.js-stock.top
-TW_KEY = wgUxwQPf0XatK5Z3u3xU
+TW_KEY = FedHFfQ9BTZKIJmW8vkl
 
 
 #默认首页显示指数code
diff --git a/src/main/resources/mapper/UserRechargeMapper.xml b/src/main/resources/mapper/UserRechargeMapper.xml
index ecda781..df43a22 100644
--- a/src/main/resources/mapper/UserRechargeMapper.xml
+++ b/src/main/resources/mapper/UserRechargeMapper.xml
@@ -20,18 +20,18 @@
   </resultMap>
   <sql id="Base_Column_List" >
     id, user_id, nick_name, agent_id, order_sn, pay_sn, pay_channel, pay_amt, order_status,
-    order_desc, add_time, pay_time, pay_id,img
+    order_desc, add_time, pay_time, pay_id,img,assets_type
   </sql>
   <insert id="insert" parameterType="com.nq.pojo.UserRecharge" >
     insert into user_recharge (id, user_id, nick_name,
       agent_id, order_sn, pay_sn,
       pay_channel, pay_amt, order_status,
-      order_desc, add_time, pay_time,pay_id,img
+      order_desc, add_time, pay_time,pay_id,img,assets_type
       )
     values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{nickName,jdbcType=VARCHAR},
       #{agentId,jdbcType=INTEGER}, #{orderSn,jdbcType=VARCHAR}, #{paySn,jdbcType=VARCHAR},
       #{payChannel,jdbcType=VARCHAR}, #{payAmt,jdbcType=DECIMAL}, #{orderStatus,jdbcType=INTEGER},
-      #{orderDesc,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, #{payId,jdbcType=INTEGER}, #{img,jdbcType=VARCHAR}
+      #{orderDesc,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, #{payId,jdbcType=INTEGER}, #{img,jdbcType=VARCHAR},#{assetsType,jdbcType=VARCHAR}
       )
   </insert>
   <insert id="insertSelective" parameterType="com.nq.pojo.UserRecharge" >
diff --git a/src/main/resources/mapper/UserWithdrawMapper.xml b/src/main/resources/mapper/UserWithdrawMapper.xml
index 4720ee1..2313218 100644
--- a/src/main/resources/mapper/UserWithdrawMapper.xml
+++ b/src/main/resources/mapper/UserWithdrawMapper.xml
@@ -16,10 +16,11 @@
       <result column="with_status"  property="withStatus"/>
       <result column="with_fee"  property="withFee"/>
       <result column="with_msg"  property="withMsg"/>
+      <result column="accset_type"  property="accsetType"/>
   </resultMap>
   <sql id="Base_Column_List" >
     id, user_id, nick_name, agent_id, with_amt, apply_time, trans_time, with_name, bank_no, 
-    bank_name, bank_address, with_status, with_fee, with_msg
+    bank_name, bank_address, with_status, with_fee, with_msg, accset_type
   </sql>
   <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
     select 
@@ -36,12 +37,12 @@
       agent_id, with_amt, apply_time, 
       trans_time, with_name, bank_no, 
       bank_name, bank_address, with_status, 
-      with_fee, with_msg)
+      with_fee, with_msg, accset_type)
     values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{nickName,jdbcType=VARCHAR}, 
       #{agentId,jdbcType=INTEGER}, #{withAmt,jdbcType=DECIMAL}, #{applyTime,jdbcType=TIMESTAMP}, 
       #{transTime,jdbcType=TIMESTAMP}, #{withName,jdbcType=VARCHAR}, #{bankNo,jdbcType=VARCHAR}, 
       #{bankName,jdbcType=VARCHAR}, #{bankAddress,jdbcType=VARCHAR}, #{withStatus,jdbcType=INTEGER}, 
-      #{withFee,jdbcType=DECIMAL}, #{withMsg,jdbcType=VARCHAR})
+      #{withFee,jdbcType=DECIMAL}, #{withMsg,jdbcType=VARCHAR}, #{accsetType,jdbcType=VARCHAR})
   </insert>
   <insert id="insertSelective" parameterType="com.nq.pojo.UserWithdraw" >
     insert into user_withdraw

--
Gitblit v1.9.3