雄安一机游管理后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
phonetour2.0/target/classes/application.properties

183 lines
5.5 KiB

server.port=8083
server.tomcat.uri-encoding=UTF-8
#jsp,servlet修改后无需重新发布
server.jsp-servlet.init-parameters.development=true
server.session.cookie.name=ybsj-session
server.session.timeout=7200
## 数据源
spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:13306/phone_tour?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true
#spring.datasource.url=jdbc:mysql://47.92.156.48:13306/phone_tour?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true
spring.datasource.username=root
spring.datasource.password=root
## JSP配置
## 页面默认前缀
spring.mvc.view.prefix=/html/back/
# 响应页面默认后缀
spring.mvc.view.suffix=.html
##thymeleaf模板设置(html)
##页面默认前缀
spring.thymeleaf.prefix=classpath:/html/back/
##页面默认后缀
spring.thymeleaf.suffix=.html
##使用不是特别严格的html语法
spring.thymeleaf.mode=LEGACYHTML5
##关闭缓存
spring.thymeleaf.cache=false
## Mybatis 配置
# 配置 指向实体类包路径。
mybatis.type-aliases-package = com.cjy.*.entity,com.cjy.*.*.entity,com.cjy.*.*.*.entity
# 配置为 classpath 路径下 mapper 包下,* 代表会扫描所有 xml 文件。
mybatis.mapper-locations = classpath*:com/cjy/*/dao/*Mapper.xml,classpath*:com/cjy/*/*/dao/*Mapper.xml,classpath*:com/cjy/*/*/*/dao/*Mapper.xml
mybatis.config-location = classpath:mybatis-config.xml
#日志
logging.config=classpath:logback.xml
#上传文件大小
spring.http.multipart.maxFileSize=500Mb
spring.http.multipart.maxRequestSize=500Mb
#mysql-lycyjcpt
driverClassName_lycyjcpt=com.mysql.jdbc.Driver
url_lycyjcpt=jdbc\:mysql\://211.90.37.65\:33301/hb_lycyjcpt?useUnicode\=true&characterEncoding\=utf8&zeroDateTimeBehavior\=convertToNull&transformedBitIsBoolean\=true
userName_lycyjcpt=root
password_lycyjcpt=#@$3cJ?*=&981+--.$%^bnoZT12QfK
#mysql-从数据库
spring.datasource.names=slave
spring.datasource.slave.driverClassName=com.mysql.jdbc.Driver
spring.datasource.slave.url=jdbc:mysql://192.168.0.7:3306/phone_tour?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&autoReconnect=true
#spring.datasource.slave.url=jdbc:mysql://47.92.156.48:13306/phone_tour?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&autoReconnect=true
spring.datasource.slave.username=root
spring.datasource.slave.password=cjy12345
#数据源的更多配置
db.maximumConnectionCount=50
db.minimumConnectionCount=2
db.addnumConnectionCount=5
db.maximum-pool-size=100
db.max-idle=10
db.max-wait=10000
db.min-idle=5
db.initial-size=5
db.validation-query=SELECT 1
db.test-on-borrow=false
db.test-while-idle=true
db.time-between-eviction-runs-millis=18800
#MQ配置
spring.rabbitmq.host=127.0.0.1
#spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
spring.rabbitmq.password=guest
# 开启发送确认
spring.rabbitmq.publisher-confirms=true
# 开启发送失败退回
spring.rabbitmq.publisher-returns=true
spring.rabbitmq.template.mandatory=true
# 开启ACK
spring.rabbitmq.listener.direct.acknowledge-mode=manual
spring.rabbitmq.listener.simple.acknowledge-mode=manual
#是否支持重试
spring.rabbitmq.listener.simple.retry.enabled=true
#并发量的配置
spring.rabbitmq.listener.simple.concurrency=10
spring.rabbitmq.listener.simple.max-concurrency=20
spring.rabbitmq.listener.simple.prefetch=5
#智能机器人字典表-父级标号
db.dicpcode=33
#接口 附近的五项资源, 访问范围 km
near=2000000000
lng=114.719986
lat=41.158987
#appId=wx7a886bbfc2b3bb15
#secret=980fb3d10905746ca362515a6cb148ac
#河北
appId=wx43b4de0f13b9a916
secret=a369f9770e54abfecd386f4bba218937
# 7*24*60*60*1000
wechat_timeout=604800000
#文件上传路径 例子:FILEPATH+"/2018/10/23/filename.jpg"
filepath=C:
#轮播图上传路径
image_filepath=/upload/image
video_filepath=/upload/video
app_filepath=/upload/app
other_filepath=/upload/other
codeUrl_filepath=/upload/code
#资源映射路径为/image/**,使用url访问的请求路径
#spring.mvc.static-path-pattern=/image/**
#资源绝对路径为file:D://data/pic/,图片存放的真实路径
#spring.resources.static-locations=file:D://image/
spring.redis.host=127.0.0.1
#spring.redis.password=#..@Ch#uANg%=J--u!@^yu&&an^
spring.redis.password=root
#spring.redis.host=144.7.116.46
spring.redis.port=6379
spring.redis.database=0
#redis访问IP
redis_ip=127.0.0.1
#redis_ip=144.7.116.46
#redis访问端口号
redis_port=6379
#字段绑定查询不显示的字段
message.field=guid,type,browsenum,upnum,sendtime,createtime,createuserid,superuserid,userkey,subtype,specialtyfoodid,activityid,foodid,sort,isrecommend,isdel
message.default.field=sort,isrecommend,isdel
message.mysql_ku=phone_tour
#酒店 类型/星级/设施/服务 字典父级编号
hotel.type=18
hotel.xingji=22
hotel.sheshi=11
hotel.fuwu=10
#全域景区级别/类型/数据类型
map.scenicLevel=35
map.scenicType=36
map.dataType=37
#景区类型/级别
scenic.type=01
scenic.level=25
#线路类型
line.type=24
#消息类型
message.messageCode=29
#功能模块父级名称
module.parentName1=\u7CFB\u7EDF\u8BBE\u7F6E
module.parentName2=\u5185\u5BB9\u7BA1\u7406
#此功能模块不复制
module.parentName3=\u5730\u5E02\u7BA1\u7406
#默认值
default.pageSize=10
host=http://localhost:8083
#登录错误次数redis过期时间 单位 秒
loginDisableTime=600
#登录错误次数
loginErrorNum=5
#google验证器过期时间 1为30秒 2为1分钟
googleSize=2
#监控调用海康
#代理API网关nginx服务器ip端口
HKApiNginxIp=221.192.134.208:81
#秘钥appkey
HKappkey=25620685
#秘钥appSecret
HKappSecret=Acvnz7SPTq4wPRSSg7az
#协议
HKxieyi=http://