소스 검색

add prod.yml

jiequan.bi 4 년 전
부모
커밋
2798cabb9f
1개의 변경된 파일30개의 추가작업 그리고 0개의 파일을 삭제
  1. 30 0
      src/main/resources/application-prod.yml

+ 30 - 0
src/main/resources/application-prod.yml

@@ -0,0 +1,30 @@
+spring:
+  redis:
+    url: redis://172.30.0.17:6379
+    password: foobared
+  datasource:
+    url: jdbc:mysql://139.186.27.96/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
+    username: hcst
+    password: test@20190531
+
+#mybatis plus 设置
+mybatis-plus:
+  mapper-locations: classpath*:com/hcst/youteng/mapper/xml/*Mapper.xml
+  global-config:
+    banner: false
+    db-config:
+      id-type: 4
+      # 默认数据库表下划线命名
+      table-underline: true
+  # configuration:
+  #  map-underscore-to-camel-case: false
+  #分页pageHelper
+pagehelper:
+  helper-dialect: mysql
+  reasonable: true
+  support-methods-arguments: true
+
+
+admin:
+  weChat: Hao
+  mail: bijiequan@c-top.com.cn