2025-06-11 09:42:13 +08:00
|
|
|
|
spring.application.name=alita-bjy-uygur
|
2025-06-16 14:53:21 +08:00
|
|
|
|
spring.profiles.active=uat-uygur
|
2025-06-11 09:42:13 +08:00
|
|
|
|
|
|
|
|
|
|
##数据源
|
|
|
|
|
|
spring.datasource.url=jdbc:dm://139.159.237.199:5236?schema=BJY_UYGUR_JOB&useUnicode=true&serverTimezone=Asia/Shanghai&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true&useSSL=false
|
|
|
|
|
|
#&useAffectedRows=true
|
|
|
|
|
|
spring.datasource.username=SYSDBA
|
|
|
|
|
|
spring.datasource.password=SYSDBA001
|
|
|
|
|
|
spring.datasource.driverClassName=dm.jdbc.driver.DmDriver
|
|
|
|
|
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
|
|
|
|
|
|
|
|
|
|
|
# 初始化时建立物理连接的个数
|
|
|
|
|
|
spring.datasource.druid.initial-size=50
|
|
|
|
|
|
# 最大连接池数量
|
|
|
|
|
|
spring.datasource.druid.max-active=500
|
|
|
|
|
|
# 最小连接池数量
|
|
|
|
|
|
spring.datasource.druid.min-idle=50
|
|
|
|
|
|
# 获取连接时最大等待时间,单位毫秒
|
|
|
|
|
|
spring.datasource.druid.max-wait=60000
|
|
|
|
|
|
spring.servlet.multipart.max-file-size=20MB
|
|
|
|
|
|
spring.servlet.multipart.max-request-size=20MB
|
|
|
|
|
|
spring.cloud.config.allowOverride=true
|
|
|
|
|
|
spring.cloud.config.overrideNone=true
|
|
|
|
|
|
|
|
|
|
|
|
# mybatis
|
|
|
|
|
|
mybatis.mapperLocations=classpath*:com/newyetai/**/mapper/*Mapper.xml
|
|
|
|
|
|
mybatis.configuration.map-underscore-to-camel-case=true
|
|
|
|
|
|
pagehelper.helperDialect=oracle
|
|
|
|
|
|
pagehelper.reasonable=true
|
|
|
|
|
|
|
|
|
|
|
|
#mybatis plus
|
|
|
|
|
|
mybatis-plus.mapper-locations=classpath*:com/newyetai/**/mapper/*.xml
|
|
|
|
|
|
mybatis-plus.configuration.default-enum-type-handler=com.baomidou.mybatisplus.extension.handlers.MybatisEnumTypeHandler
|
|
|
|
|
|
mybatis-plus.type-aliases-package=com.newyetai.**.entity
|
|
|
|
|
|
mybatis-plus.type-enums-package=com.newyetai.**.enums
|
|
|
|
|
|
|
|
|
|
|
|
### 日志文件
|
|
|
|
|
|
logging.file.name=/usr/local/logs/${spring.application.name}.log
|
|
|
|
|
|
logging.pattern.console:%d{yyyy/MM/dd-HH:mm:ss} %X{traceId:-} [%thread] %-5level %logger- %msg%n
|
|
|
|
|
|
logging.pattern.file:%d{yyyy/MM/dd-HH:mm:ss} %X{traceId:-} [%thread] %-5level %logger- %msg%n
|
|
|
|
|
|
|
|
|
|
|
|
### 文件路径
|
|
|
|
|
|
file.upload-dir=/var/${spring.application.name}/upload
|
|
|
|
|
|
java.io.tmpdir=/var/${spring.application.name}/upload/tmpdir
|
|
|
|
|
|
|
2025-06-16 14:53:21 +08:00
|
|
|
|
#文件存储配置
|
|
|
|
|
|
file.storage.type=ali
|
|
|
|
|
|
file.storage.ali.endpoint=https://oss-cn-shanghai.aliyuncs.com
|
|
|
|
|
|
file.storage.ali.accessKeyId=LTAI5tMYmstNNcvsf67CWR5P
|
|
|
|
|
|
file.storage.ali.accessKeySecret=JyRcBvT8jVC1dhP5ji85WDTmgEOvZW
|
|
|
|
|
|
file.storage.ali.bucketName=newyetai
|
|
|
|
|
|
|
2025-06-11 09:42:13 +08:00
|
|
|
|
#发号器
|
|
|
|
|
|
#机器id:根据ip自己定义
|
|
|
|
|
|
code.snowflake.workid.192.168.31.234=23
|
|
|
|
|
|
code.snowflake.workid.121.37.2.171=1
|
|
|
|
|
|
code.snowflake.workid.139.159.237.199=2
|
|
|
|
|
|
code.snowflake.workid.192.168.3.2=4
|
|
|
|
|
|
code.snowflake.workid.192.168.31.99=5
|
|
|
|
|
|
|
|
|
|
|
|
##redis配置
|
|
|
|
|
|
spring.redis.password=Xinshan888
|
|
|
|
|
|
spring.redis.host=121.37.2.171
|
|
|
|
|
|
spring.redis.port=6379
|
|
|
|
|
|
spring.redis.lettuce.pool.min-idle=2
|
|
|
|
|
|
spring.redis.lettuce.pool.max-idle=8
|
|
|
|
|
|
spring.redis.lettuce.pool.max-active=10
|
|
|
|
|
|
spring.redis.lettuce.pool.max-wait=-1ms
|
|
|
|
|
|
spring.redis.database=12
|
|
|
|
|
|
|
|
|
|
|
|
##mongodb
|
|
|
|
|
|
spring.datasource.mongodb.custom.database=alita
|
|
|
|
|
|
spring.datasource.mongodb.custom.host=121.37.2.171
|
|
|
|
|
|
spring.datasource.mongodb.custom.port=27017
|
|
|
|
|
|
spring.datasource.mongodb.custom.username=root
|
|
|
|
|
|
spring.datasource.mongodb.custom.password=xinshan888
|
|
|
|
|
|
spring.datasource.mongodb.custom.authentication-database=admin
|
|
|
|
|
|
spring.datasource.mongodb.custom.connections-per-host=10
|
|
|
|
|
|
spring.datasource.mongodb.custom.min-connections-per-host=10
|
|
|
|
|
|
|
|
|
|
|
|
##mq
|
|
|
|
|
|
spring.rabbitmq.host=121.37.2.171
|
|
|
|
|
|
spring.rabbitmq.port=5672
|
|
|
|
|
|
spring.rabbitmq.username=guest
|
|
|
|
|
|
spring.rabbitmq.password=lettuce.co
|
|
|
|
|
|
#开启发送失败返回
|
|
|
|
|
|
spring.rabbitmq.publisher-returns=true
|
|
|
|
|
|
#开启发送确认
|
|
|
|
|
|
spring.rabbitmq.publisher-confirms=true
|
|
|
|
|
|
#监听类型,每个consumer都有对应的channel,consumer的线程共享
|
|
|
|
|
|
spring.rabbitmq.listener.type=direct
|
|
|
|
|
|
#none发送消息后直接确认消息/auto根据消息消费的情况,智能判定消息的确认情况/manual手动确认消息的情况
|
|
|
|
|
|
spring.rabbitmq.listener.direct.acknowledge-mode=auto
|
|
|
|
|
|
#每个队列消费者数
|
|
|
|
|
|
spring.rabbitmq.listener.direct.consumers-per-queue=3
|
|
|
|
|
|
#每个消费者处理未确认消息的最大数量
|
|
|
|
|
|
spring.rabbitmq.listener.direct.prefetch=100
|
|
|
|
|
|
spring.rabbitmq.listener.direct.default-requeue-rejected=true
|
|
|
|
|
|
#支持消息的确认与返回
|
|
|
|
|
|
spring.rabbitmq.template.mandatory=true
|
|
|
|
|
|
#定制化配置
|
|
|
|
|
|
#exchange名称
|
|
|
|
|
|
rabbitmq.custom.topicExchangeName=alita_exchange
|
|
|
|
|
|
#指定消息消费者ip
|
|
|
|
|
|
rabbitmq.custom.consumerAppId=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
security.useLocal=true
|
|
|
|
|
|
security.ignoring=/*.html,/favicon.ico
|
|
|
|
|
|
security.anonymous=/anon/**,/druid/**
|
|
|
|
|
|
security.loginPage=/login.html
|
|
|
|
|
|
security.loginSuccessPage=/
|
|
|
|
|
|
security.loginH5SuccessPage=/h5/
|
|
|
|
|
|
security.loginProcessingUrl=/login
|
|
|
|
|
|
security.allowIfAllAbstainDecisions=false
|
|
|
|
|
|
security.domain=
|
|
|
|
|
|
#不记日志路径,contains匹配
|
|
|
|
|
|
security.notLogs=/district,/dict/lookup,/dict/flush,/anon/dropdown,/anon/user/info,/domain_setting
|
|
|
|
|
|
security.jwt.enable=true
|
|
|
|
|
|
security.jwt.secret=abcdef
|
|
|
|
|
|
security.jwt.expiration=28800
|
|
|
|
|
|
security.jwt.header=Authorization
|
|
|
|
|
|
security.jwt.iss=${spring.application.name}
|
|
|
|
|
|
#oauth配置
|
|
|
|
|
|
security.oauth2.enable=false
|
|
|
|
|
|
#oauth配置类型:true使用数据库配置,否则配置文件
|
|
|
|
|
|
#security.oauth2.usedb=true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#websocket配置
|
|
|
|
|
|
websocket.enable=true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 短信开关
|
|
|
|
|
|
sms.enable=true
|
|
|
|
|
|
sms.domain=dysmsapi.aliyuncs.com
|
|
|
|
|
|
sms.accessKeyId=LTAI5tLjZrGpoABQNRkJpgA9
|
|
|
|
|
|
sms.accessSecret=v55nTCjORRbeo4NhQeaccrfXk2LNbe
|
|
|
|
|
|
sms.regionId=default
|
|
|
|
|
|
sms.version=2017-05-25
|
|
|
|
|
|
# properties中文乱码
|
|
|
|
|
|
sms.signName=\u4eba\u624d\u56ed
|
|
|
|
|
|
sms.numLimit=300000
|
|
|
|
|
|
#短信验证码模板配置
|
|
|
|
|
|
sms.phoneSms=SMS_478425358
|
|
|
|
|
|
|
|
|
|
|
|
## 创蓝账号配置
|
|
|
|
|
|
chuanglan.enable=true
|
|
|
|
|
|
chuanglan.phone=13816929046
|
|
|
|
|
|
chuanglan.domain=https://api.253.com
|
|
|
|
|
|
chuanglan.appId=BkDWu80l
|
|
|
|
|
|
chuanglan.appSecret=Lvy1s1hu
|
|
|
|
|
|
## 创蓝实名认证(基础二要素)开关、次数配置
|
|
|
|
|
|
chuanglan.realName2Base.enable=false
|
|
|
|
|
|
chuanglan.realName2Base.url=/open/idcard/id-card-auth
|
|
|
|
|
|
chuanglan.realName2Base.numLimit=1
|
|
|
|
|
|
|
|
|
|
|
|
#讯飞配置
|
|
|
|
|
|
xf.httpAPIPassword=EiORVeNtBjFOcUSKXanT:oIVlTRNhWcEDpksviZaG
|
|
|
|
|
|
#在控制台-我的应用获取
|
|
|
|
|
|
xf.appId=a2847f13
|
|
|
|
|
|
xf.apiSecret=ZGYzYjY5N2E2ODJhYzJkZWNjMjBmMWU5
|
|
|
|
|
|
xf.apiKey=a232b25616c1359d15c30711c1976de6
|
|
|
|
|
|
#语音听写地址
|
|
|
|
|
|
xf.iatHostUrl=https://iat-api.xfyun.cn/v2/iat
|
|
|
|
|
|
#语音合成地址
|
|
|
|
|
|
xf.ttsHostUrl=https://tts-api.xfyun.cn/v2/tts
|
|
|
|
|
|
|
|
|
|
|
|
#腾讯地图
|
|
|
|
|
|
tencent.map.key=TS7BZ-GOVCB-CUZUL-JUUAV-WTYT3-Z2B4Z
|
|
|
|
|
|
tencent.map.baseUrl=https://apis.map.qq.com
|
|
|
|
|
|
|
|
|
|
|
|
#mbti
|
|
|
|
|
|
mbti.urlPrefix=https://udp.szhr.com/szudp/api/mbti/
|
|
|
|
|
|
mbti.appId=826365121980
|
|
|
|
|
|
mbti.appKey=jUzDKQKcVHXypG6crhzw
|
|
|
|
|
|
|
|
|
|
|
|
|