浏览代码

增加分支

willliamguo 4 年之前
父节点
当前提交
d1a712caa4
共有 1 个文件被更改,包括 50 次插入1 次删除
  1. 50 1
      mooctest-user-server/src/main/resources/application.yaml

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

@@ -1,4 +1,4 @@
-spring.profiles.active: private-cloud-localhost
+spring.profiles.active: dev-test
 server:
 server:
   port: 8081
   port: 8081
 
 
@@ -133,4 +133,53 @@ website:
 
 
 wecaht:
 wecaht:
   appSecret: f84db4dc62377926624093b49ac3be1f
   appSecret: f84db4dc62377926624093b49ac3be1f
+  appId: wx60f06d61f21804be
+
+---
+spring:
+  profiles: dev-test
+  cache:
+    guava:
+      spec:
+        expireAfterWrite: 30s
+  datasource:
+    driver-class-name: com.mysql.jdbc.Driver
+    testWhileIdle: true
+    validationQuery: SELECT 1
+    url: jdbc:mysql://101.37.175.111:3306/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
+    username: mooctest
+    password: secr3t!
+  hibernate:
+    ddl-auto: validate
+    naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+    properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
+  jpa:
+    show-sql: true
+
+  redis:
+    host: 127.0.0.1
+    password:
+    pool:
+      max-active: 8
+      max-idle: 8
+      max-wait: -1
+      min-idle: 0
+    port: 6379
+
+  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: 127.0.0.1
+
+wecaht:
+  appSecret: f84db4dc62377926624093b49ac3be1f
   appId: wx60f06d61f21804be
   appId: wx60f06d61f21804be