教育训练处考试制证系统后端
heheng
2025-02-17 40dc81837107f06da1411b0555cab1012207416b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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
 */