郭超 3 anni fa
parent
commit
69cedfc213
1 ha cambiato i file con 50 aggiunte e 0 eliminazioni
  1. 50 0
      mooctest-user-server/src/main/resources/application.yaml

+ 50 - 0
mooctest-user-server/src/main/resources/application.yaml

@@ -182,4 +182,54 @@ website:
 
 wecaht:
   appSecret: f84db4dc62377926624093b49ac3be1f
+  appId: wx60f06d61f21804be
+
+
+---
+spring:
+  profiles: test-casse
+  cache:
+    guava:
+      spec:
+        expireAfterWrite: 30s
+  datasource:
+    driver-class-name: com.mysql.jdbc.Driver
+    testWhileIdle: true
+    validationQuery: SELECT 1
+    url: jdbc:mysql://106.14.81.62:3308/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
+    username: root
+    password: Customs2019
+  hibernate:
+    ddl-auto: validate
+    naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+    properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
+  jpa:
+    show-sql: true
+
+  redis:
+    host: 106.14.81.62
+    password: Customs2019
+    pool:
+      max-active: 8
+      max-idle: 8
+      max-wait: -1
+      min-idle: 0
+    port: 6378
+
+  thymeleaf:
+    cache: false
+    content-type: text/html
+    encoding: UTF-8
+    mode: LEGACYHTML5
+    prefix: classpath:/templates/
+    suffix: .html
+
+redirect:
+  url: http://crowd.dev.mooctest.net/
+
+website:
+  domainName: mooctest.net
+
+wecaht:
+  appSecret: f84db4dc62377926624093b49ac3be1f
   appId: wx60f06d61f21804be