xiewj 1 year ago
parent
commit
f87e2eacf5
2 changed files with 11 additions and 6 deletions
  1. 5 0
      pom.xml
  2. 6 6
      src/main/resources/application-jp-test.yaml

+ 5 - 0
pom.xml

@@ -141,6 +141,11 @@
             <artifactId>4dkankan-utils-filestorage</artifactId>
             <version>3.0.0-SNAPSHOT</version>
         </dependency>
+        <dependency>
+            <groupId>com.github.ulisesbocchio</groupId>
+            <artifactId>jasypt-spring-boot-starter</artifactId>
+            <version>3.0.5</version>
+        </dependency>
     </dependencies>
 
     <build>

+ 6 - 6
src/main/resources/application-jp-test.yaml

@@ -53,10 +53,10 @@ logging:
 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
+    endpoint: http://oss-ap-northeast-1.aliyuncs.com
+    internal-endpoint: http://oss-ap-northeast-1.aliyuncs.com
+    access-key: ENC(U8UeO6r+PVmJ1Vj33SZxlyo7G53Bza8BBgKfoS+MqM1xrtYWW1Fv2g==)
+    access-key-secret: ENC(/VkyDP4a7U7KBUKT3mJ1KME2JUtsxEtucMmM7wavfLq9WztylWgSWQ==)
+    bucket: geosign-4dkk
     bucket-custom-domain:
-      4dkankan: https://4dkk.4dage.com/
+      geosign-4dkk: https://oss.4dkankan.jp