From 0537e73efb9aba020fdc8cb48708bb51b46aaf57 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 15 Sep 2023 14:33:39 +0800
Subject: [PATCH] 后台修改

---
 src/main/java/cc/mrbird/febs/FebsShiroApplication.java |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/FebsShiroApplication.java b/src/main/java/cc/mrbird/febs/FebsShiroApplication.java
index 72761d9..1cacc07 100644
--- a/src/main/java/cc/mrbird/febs/FebsShiroApplication.java
+++ b/src/main/java/cc/mrbird/febs/FebsShiroApplication.java
@@ -43,24 +43,24 @@
                 .run(args);
     }
 
-    @PostConstruct
-    public void systemConstantsInit() {
-        DataDictionaryCustom dataDictionaryCustom = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(
-                DataDictionaryEnum.FEE_ADDRESS_KEY.getType(),
-                DataDictionaryEnum.FEE_ADDRESS_KEY.getCode());
-        String key = dataDictionaryCustom.getCode();
-        key = StrUtil.toCamelCase(key);
-        String value = dataDictionaryCustom.getValue();
-        try {
-            Field field = systemConstants.getClass().getDeclaredField(key);
-            field.set(systemConstants, value);
-            AppContants.FEE_ADDRESS_KEY.put("feeAddressKey",systemConstants.getFeeAddressKey());
-            dataDictionaryCustom.setValue("isReady");
-            dataDictionaryCustomMapper.updateById(dataDictionaryCustom);
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
+//    @PostConstruct
+//    public void systemConstantsInit() {
+//        DataDictionaryCustom dataDictionaryCustom = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(
+//                DataDictionaryEnum.FEE_ADDRESS_KEY.getType(),
+//                DataDictionaryEnum.FEE_ADDRESS_KEY.getCode());
+//        String key = dataDictionaryCustom.getCode();
+//        key = StrUtil.toCamelCase(key);
+//        String value = dataDictionaryCustom.getValue();
+//        try {
+//            Field field = systemConstants.getClass().getDeclaredField(key);
+//            field.set(systemConstants, value);
+//            AppContants.FEE_ADDRESS_KEY.put("feeAddressKey",systemConstants.getFeeAddressKey());
+//            dataDictionaryCustom.setValue("isReady");
+//            dataDictionaryCustomMapper.updateById(dataDictionaryCustom);
+//        } catch (Exception e) {
+//            e.printStackTrace();
+//        }
+//    }
 
 
 //    @PostConstruct

--
Gitblit v1.9.1