From ef57094e91072ebe05bb3781e028d6d7ad8a0c45 Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: Mon, 17 Feb 2025 11:15:35 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev-20250116' into dev-20250116

---
 exam-system/src/main/java/com/gkhy/exam/pay/utils/config/SdkConfig.java |   99 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 99 insertions(+), 0 deletions(-)

diff --git a/exam-system/src/main/java/com/gkhy/exam/pay/utils/config/SdkConfig.java b/exam-system/src/main/java/com/gkhy/exam/pay/utils/config/SdkConfig.java
new file mode 100644
index 0000000..36fbf07
--- /dev/null
+++ b/exam-system/src/main/java/com/gkhy/exam/pay/utils/config/SdkConfig.java
@@ -0,0 +1,99 @@
+/*    */
+package com.gkhy.exam.pay.utils.config;
+/*    */
+/*    */
+
+
+import java.io.File;
+import java.io.IOException;
+
+/*    */
+/*    */
+/*    */
+/*    */
+/*    */
+/*    */
+/*    */
+/*    */
+/*    */
+@PropertiesConfig(fileName = "sdk.properties")
+/*    */ public class SdkConfig
+        /*    */ {
+    /*    */   static {
+        /* 20 */
+        loadSDKProperties();
+        /*    */
+    }
+
+    /*    */
+    /*    */
+    /*    */
+    /* 25 */   public static final String tempPath = String.valueOf(System.getProperty("java.io.tmpdir")) + File.separator;
+    /*    */
+    /*    */
+    /*    */   public static int connectionRequestTimeOut;
+    /*    */
+    /*    */
+    /*    */   public static int connectionTimeout;
+    /*    */
+    /*    */
+    /*    */   public static int socketTimeOut;
+    /*    */
+    /*    */
+    /*    */   public static String logPath;
+    /*    */
+    /*    */
+    /*    */   public static String logMaxFileSize;
+    /*    */
+    /*    */
+    /*    */   public static String logTotalSizeCap;
+    /*    */
+    /*    */
+    /*    */   public static int logMaxHistory;
+    /*    */
+    /*    */   public static boolean logAdditive = true;
+    /*    */
+    /*    */
+    @PropertiesConfig(name = "appId")
+    /*    */ public static String appId;
+    /*    */
+    /*    */
+    @PropertiesConfig(name = "remote.fsweb.service")
+    /*    */ public static String fsServiceUrl;
+    /*    */
+    /*    */
+    @PropertiesConfig(name = "remote.fsweb.public")
+    /*    */ public static String fsPublicUrl;
+
+    /*    */
+    /*    */
+    /*    */
+    public static void loadSDKProperties() {
+        /*    */
+        try {
+            /* 62 */
+            PropertiesUtil.loadData(new SdkConfig());
+            /*    */
+            /* 64 */
+            logPath = StringUtil.appendMsg(new String[]{tempPath, logPath});
+            /*    */
+            /* 66 */
+            fsPublicUrl = StringUtil.getUrl(fsPublicUrl);
+            /* 67 */
+            fsServiceUrl = StringUtil.getUrl(fsServiceUrl);
+            /* 68 */
+        } catch (IOException e) {
+            /* 69 */
+            e.printStackTrace();
+            /*    */
+        }
+        /*    */
+    }
+    /*    */
+}
+
+
+/* Location:              D:\jar\sign_util-1.0-SNAPSHOT.20240227.jar!\BOOT-INF\lib\SNAPSHOT-1.0.0.jar!\com\xjhys\edu\fee\sdk\config\SdkConfig.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */
\ No newline at end of file

--
Gitblit v1.9.2