From a4bcd761572fd8760b33e7e01bfe941391b0d2e7 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 21 Dec 2023 14:19:40 +0800
Subject: [PATCH] 富文本框输入版本变化

---
 src/main/java/cc/mrbird/febs/mall/controller/AdminSystemController.java |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/mall/controller/AdminSystemController.java b/src/main/java/cc/mrbird/febs/mall/controller/AdminSystemController.java
index a24183c..19b024b 100644
--- a/src/main/java/cc/mrbird/febs/mall/controller/AdminSystemController.java
+++ b/src/main/java/cc/mrbird/febs/mall/controller/AdminSystemController.java
@@ -55,6 +55,31 @@
     @PostMapping(value = "/cashOutSetting")
     public FebsResponse cashOutSetting(CashOutSettingDto cashOutSettingDto) {
         commonService.addDataDic(DataDictionaryEnum.CASHOUT_SETTING.getType(), DataDictionaryEnum.CASHOUT_SETTING.getCode(), cashOutSettingDto, "提现设置");
+
+        commonService.updateDataDic(
+                DataDictionaryEnum.BANK_TRANS_URL.getType(),
+                DataDictionaryEnum.BANK_TRANS_URL.getCode(),
+                cashOutSettingDto.getUrlStr());
+        commonService.updateDataDic(
+                DataDictionaryEnum.BANK_TRANS_VERIFY_IP.getType(),
+                DataDictionaryEnum.BANK_TRANS_VERIFY_IP.getCode(),
+                cashOutSettingDto.getVerifyIp());
+        commonService.updateDataDic(
+                DataDictionaryEnum.BANK_TRANS_VERIFY_PORT.getType(),
+                DataDictionaryEnum.BANK_TRANS_VERIFY_PORT.getCode(),
+                cashOutSettingDto.getVerifyPort());
+        commonService.updateDataDic(
+                DataDictionaryEnum.BANK_TRANS_FKZH.getType(),
+                DataDictionaryEnum.BANK_TRANS_FKZH.getCode(),
+                cashOutSettingDto.getFkzh());
+        commonService.updateDataDic(
+                DataDictionaryEnum.BANK_TRANS_customerId.getType(),
+                DataDictionaryEnum.BANK_TRANS_customerId.getCode(),
+                cashOutSettingDto.getCustomerId());
+        commonService.updateDataDic(
+                DataDictionaryEnum.BANK_TRANS_softwareId.getType(),
+                DataDictionaryEnum.BANK_TRANS_softwareId.getCode(),
+                cashOutSettingDto.getSoftwareId());
         return new FebsResponse().success();
     }
 
@@ -115,6 +140,14 @@
                 DataDictionaryEnum.AGENT_PERK.getType(),
                 DataDictionaryEnum.AGENT_PERK.getCode(),
                 hlmBasicPerkDto.getAgentPerk());
+        commonService.updateDataDic(
+                DataDictionaryEnum.PERK_AGENT_ACHIEVE_TOTAL.getType(),
+                DataDictionaryEnum.PERK_AGENT_ACHIEVE_TOTAL.getCode(),
+                hlmBasicPerkDto.getPerkAgentAchieveTotal());
+        commonService.updateDataDic(
+                DataDictionaryEnum.PERK_AGENT_ACHIEVE_PERCENT.getType(),
+                DataDictionaryEnum.PERK_AGENT_ACHIEVE_PERCENT.getCode(),
+                hlmBasicPerkDto.getPerkAgentAchievePercent());
         return new FebsResponse().success();
     }
 

--
Gitblit v1.9.1