xiewj 1 年之前
父節點
當前提交
c9bb60b88d

+ 1 - 1
src/main/java/com/fdkk/bim/task/BizTask.java

@@ -120,7 +120,7 @@ public class BizTask {
    }
 
 
-//    @Scheduled(initialDelay=10*1000, fixedDelay=1000*30)
+    @Scheduled(initialDelay=10*1000, fixedDelay=1000*30)
     public void checkIntegral() throws InterruptedException {
         long allCount = bimFaceService.getAllCount();
         if (cache.hasKey("bim:count")){

+ 10 - 10
src/main/resources/application-dev.yml

@@ -77,13 +77,13 @@ bim:
 #    type: oss      阿里云 oss
 #    type: aws      亚马逊
 #    type: local    本地化
-upload:
-  type: oss
-
-fyun:
-  type: oss
-  key: LTAIUrvuHqj8pvry
-  secret: JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
-  bucket: 4dkankan
-  endPoint: http://oss-cn-shenzhen.aliyuncs.com
-  host: https://4dkk.4dage.com/
+filestorage:
+  active: oss
+  oss:
+    endpoint: https://oss-cn-shenzhen.aliyuncs.com
+    internal-endpoint: https://oss-cn-shenzhen-internal.aliyuncs.com
+    access-key: LTAI5tJwboCj3r4vUNkSmbyX
+    access-key-secret: meDy7VYAWbg8kZCKsoUZcIYQxigWOy
+    bucket: 4dkankan
+    bucket-custom-domain:
+      4dkankan: https://4dkk.4dage.com/

+ 10 - 9
src/main/resources/application-prod.yml

@@ -80,12 +80,13 @@ bim:
 #    type: oss      阿里云 oss
 #    type: aws      亚马逊
 #    type: local    本地化
-upload:
-  type: oss
-fyun:
-  type: oss
-  key: LTAIUrvuHqj8pvry
-  secret: JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
-  bucket: 4dkankan
-  endPoint: http://oss-cn-shenzhen-internal.aliyuncs.com
-  host: https://4dkk.4dage.com/
+filestorage:
+  active: oss
+  oss:
+    endpoint: https://oss-cn-shenzhen.aliyuncs.com
+    internal-endpoint: https://oss-cn-shenzhen-internal.aliyuncs.com
+    access-key: LTAI5tJwboCj3r4vUNkSmbyX
+    access-key-secret: meDy7VYAWbg8kZCKsoUZcIYQxigWOy
+    bucket: 4dkankan
+    bucket-custom-domain:
+      4dkankan: https://4dkk.4dage.com/

+ 10 - 9
src/main/resources/application-uat.yml

@@ -80,12 +80,13 @@ bim:
 #    type: oss      阿里云 oss
 #    type: aws      亚马逊
 #    type: local    本地化
-upload:
-  type: oss
-fyun:
-  type: oss
-  key: LTAIUrvuHqj8pvry
-  secret: JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
-  bucket: 4dkankan
-  endPoint: http://oss-cn-shenzhen-internal.aliyuncs.com
-  host: https://4dkk.4dage.com/
+filestorage:
+  active: oss
+  oss:
+    endpoint: https://oss-cn-shenzhen.aliyuncs.com
+    internal-endpoint: https://oss-cn-shenzhen-internal.aliyuncs.com
+    access-key: LTAI5tJwboCj3r4vUNkSmbyX
+    access-key-secret: meDy7VYAWbg8kZCKsoUZcIYQxigWOy
+    bucket: 4dkankan
+    bucket-custom-domain:
+      4dkankan: https://4dkk.4dage.com/