deason 2 năm trước cách đây
mục cha
commit
9943b41b43

+ 22 - 0
src/main/java/cn/com/qmth/examcloud/tool/config/SysProperty.java

@@ -27,6 +27,12 @@ public class SysProperty {
     @Value("${examcloud.server.password}")
     public String serverPassword;
 
+    @Value("${examcloud.server.appId}")
+    public String serverAppId;
+
+    @Value("${examcloud.server.secretKey}")
+    public String serverSecretKey;
+
     public String getDataDir() {
         return dataDir;
     }
@@ -67,4 +73,20 @@ public class SysProperty {
         this.serverPassword = serverPassword;
     }
 
+    public String getServerAppId() {
+        return serverAppId;
+    }
+
+    public void setServerAppId(String serverAppId) {
+        this.serverAppId = serverAppId;
+    }
+
+    public String getServerSecretKey() {
+        return serverSecretKey;
+    }
+
+    public void setServerSecretKey(String serverSecretKey) {
+        this.serverSecretKey = serverSecretKey;
+    }
+
 }

+ 2 - 0
src/main/resources/application.properties

@@ -19,6 +19,8 @@ examcloud.tool.dataDir=files
 examcloud.server.rootOrgId=0
 examcloud.server.loginName=devops
 examcloud.server.password=Qmth$5220
+examcloud.server.appId=sbApp
+examcloud.server.secretKey=14689456f1as89r423wa
 #examcloud.server.url=https://www.exam-cloud.cn
 #examcloud.server.url=https://www.ea100.com.cn
 #examcloud.server.url=https://192.168.10.41