Bladeren bron

添加国际国内配置

lyhzzz 3 jaren geleden
bovenliggende
commit
1f4da1cdb5
2 gewijzigde bestanden met toevoegingen van 98 en 0 verwijderingen
  1. 49 0
      src/main/resources/application-cnpord.yaml
  2. 49 0
      src/main/resources/application-eurpord.yaml

+ 49 - 0
src/main/resources/application-cnpord.yaml

@@ -0,0 +1,49 @@
+spring:
+  datasource:
+    name: druidDataSource
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      url: jdbc:mysql://127.0.0.1:3306/cdf_gm?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&allowMultiQueries=true
+      username: root
+      password: 4Dage@zhongmian#@168
+logging:
+  config: classpath:logback-spring.xml
+mybatis-plus:
+  configuration:
+    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl #开启sql日志
+
+
+fdkk:
+  login-path: http://www.4dkankan.com
+  scene-path: http://www.4dkankan.com
+  hot-path: scene_view_data/%s/user/hot.json
+  hot-cdf-path: cdf/hot/%s/hot.json
+  hot-local-path: /home/cdf/fdkk/%s
+  qr-code-url: http://vr.cdfmembers.com/index.html?m=
+#    type: oss      阿里云 oss
+#    type: aws      亚马逊 s3
+#    type: local    本地化
+upload:
+  type: aws
+  file-path: cdf/file/
+  bucket: 4dkankan
+  #query-path: http://4dkankan.oss-cn-shenzhen.aliyuncs.com/     #oss
+  query-path: https://eurs3.4dkankan.com/
+oss:
+  point: http://oss-cn-shenzhen.aliyuncs.com
+  key: LTAIUrvuHqj8pvry
+  secrey: JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
+  bucket: 4dkankan
+  sdk: 4dscene
+  prefix:
+    ali: https://4dkk.4dage.com/
+    sdk: https://4dscene.4dage.com/
+    url: https://4dkk.4dage.com/
+
+aws:
+  s3key: AKIAWCV5QFZ3ZNELKYUY
+  s3secrey: epS5ghyR4LJ7rxk/qJO9ZYh6m9Oz6g5haKDu4yws
+  s3bucket: 4dkankan
+
+local:
+  path: /home/4dkankan/

+ 49 - 0
src/main/resources/application-eurpord.yaml

@@ -0,0 +1,49 @@
+spring:
+  datasource:
+    name: druidDataSource
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      url: jdbc:mysql://127.0.0.1:3306/cdf_gm?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&allowMultiQueries=true
+      username: root
+      password: 4Dage@zhongmian#@168
+logging:
+  config: classpath:logback-spring.xml
+mybatis-plus:
+  configuration:
+    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl #开启sql日志
+
+
+fdkk:
+  login-path: http://eur.4dkankan.com
+  scene-path: http://eur.4dkankan.com
+  hot-path: scene_view_data/%s/user/hot.json
+  hot-cdf-path: cdf/hot/%s/hot.json
+  hot-local-path: /home/cdf/fdkk/%s
+  qr-code-url: http://vr.cdfmembers.com/index.html?m=
+#    type: oss      阿里云 oss
+#    type: aws      亚马逊 s3
+#    type: local    本地化
+upload:
+  type: aws
+  file-path: cdf/file/
+  bucket: 4dkankan
+  #query-path: http://4dkankan.oss-cn-shenzhen.aliyuncs.com/     #oss
+  query-path: https://eurs3.4dkankan.com/
+oss:
+  point: http://oss-cn-shenzhen.aliyuncs.com
+  key: LTAIUrvuHqj8pvry
+  secrey: JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
+  bucket: 4dkankan
+  sdk: 4dscene
+  prefix:
+    ali: https://4dkk.4dage.com/
+    sdk: https://4dscene.4dage.com/
+    url: https://4dkk.4dage.com/
+
+aws:
+  s3key: AKIAWCV5QFZ3ZNELKYUY
+  s3secrey: epS5ghyR4LJ7rxk/qJO9ZYh6m9Oz6g5haKDu4yws
+  s3bucket: 4dkankan
+
+local:
+  path: /home/4dkankan/