application.properties 1.44 KB
#spring.datasource.url=jdbc:mysql://120.92.102.31:3306/new_shy?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
#spring.datasource.username=root
#spring.datasource.password=M345sdfss4!
spring.datasource.url=jdbc:mysql://10.137.192.2:3306/new_shy?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
spring.datasource.username=admin
spring.datasource.password=Sre#45iU7kJ
spring.datasource.driver-class-name=com.mysql.jdbc.Driver

spring.jpa.properties.hibernate.hbm2ddl.auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.show-sql= true

server.tomcat.uri-encoding=UTF-8
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true

spring.thymeleaf.mode=LEGACYHTML5
#spring.thymeleaf.encoding=UTF-8
#spring.thymeleaf.content-type=text/html
#开发时关闭缓存,不然没法看到实时页面
spring.thymeleaf.cache=false

mybatis.mapper-locations=classpath:mapping/*.xml
mybatis.type-aliases-package=com.cnlive.shenhe.entity
server.port=81

sync_users_api=http://api.cnlive.com/open/api2/inner2/shenhe/getuser
sync_users_app_key=314a9dd4-a9b7-4c12-bbbe-1150a36491ae

#点播云需要的常量
url=http://mam.innerapi.cnlive.com/v1/inner/ShenHeInfo/shenheNotify
platformKey =AUDIT
platformValue=10011438

#评论回调地址
commenturl=http://comment.cnlive.com/services/commentForHd/auditCallBack