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.
 
 

121 lines
3.8 KiB

# 服务地址 全部配置nginx服务的ip地址就行
itax-url:
itax-sso: http://itax-pre.ele-cloud.com:10000/itax
itax-base-api: http://itax-pre.ele-cloud.com:10000/itax
itax-bench-front: http://itax-pre.ele-cloud.com:10000/itax-base/frame.html#/home
itax-base-front: http://itax-pre.ele-cloud.com:10000/itax-base
sms-api: http://itax-pre.ele-cloud.com:10000/order-api
jx-api: http://itax-pre.ele-cloud.com:10000/jxpt
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
driverClassName: com.mysql.cj.jdbc.Driver
druid:
url: jdbc:mysql://mysql-1.itax.local:36000/itax_base?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
username: itax_base
password: N37CLwvVt&yQy59W
initial-size: 10
max-active: 100
min-idle: 10
max-wait: 60000
pool-prepared-statements: true
max-pool-prepared-statement-per-connection-size: 20
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
#validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
stat-view-servlet:
enabled: true
url-pattern: /druid/*
#login-username: admin
#login-password: admin
filter:
stat:
log-slow-sql: true
slow-sql-millis: 1000
merge-sql: false
wall:
config:
multi-statement-allow: true
redis:
#数据库索引 用于 redis Key过期监控 注: 在redis.conf 中加 notify-keyspace-events "Ex"
database: 0
# 单点登录sso配置 redis配置
dxhy:
sso:
open: true
server: ${itax-url.itax-sso}
logout:
path: /logout
excluded:
paths: /jobRegister,/websocket/*,/noAuth/**
expireminite: 20
redirect_url: ${itax-url.itax-base-front}/login.html?redirect_url=${itax-url.itax-bench-front}
security:
sql:
excludes: /jobRegister,/websocket/*,/noAuth/*
# 系统菜单权限id配置
dxhy-protect-menuId:
menuId: 6
indexConfigMenuId: 3
TABMenuId: 12
jobMenuId: 17426
exportPassword: itax1234!@#
passwordUpdateDay: 180
itax:
# 用户中心 1 项目 2 SAAS
userCenterType: 1
# 首页展示情况 1 新首页 2 老首页展示 默认1
showHome: 1
# 菜单展示 1 老菜单 2 新菜单 默认1
menuSettingType: 1
sms:
countItaxBoardDataUrl: ${itax-url.sms-api}/invoiceCount/countItaxBoardData
countItaxRankDataUrl: ${itax-url.sms-api}/invoiceCount/countItaxRankData
jx:
queryRzTabInfoUrl: ${itax-url.jx-api}/api/flow/bigBTab/queryRzTabInfo
queryYCTabInfoUrl: ${itax-url.jx-api}/api/flow/bigBTab/queryYCTabInfo
# 日志配置 可通过isMq配置mq或rest两种方式
log:
isMq: false
queueName: LOG_DATA
rest:
pushUrl: ${itax-url.itax-base-api}/api/sysLog/restPushMsg
# 部门配置 可通过isMq配置mq或rest两种方式
dept:
isMq: true
queueName: DEPT_DATA
rest:
pushUrl: ${itax-url.itax-base-api}/itax/dept/restPushMsg
openapi:
OPENAPI_EMAIL_NOTE: http://api.5ifapiao.com/api4.0/v4/
OPENAPI_TOKEN: http://api.5ifapiao.com/authz/oauth/
TOKEN_CLIENT_ID: 8Ed2GeZiY1rn3KGOmABx
TOKEN_CLIENT_SECRET: xL1TfYvEm5F6Zg5oxxRg
TOKEN_GRANT_TYPE: client_credentials
TOKEN_SCOPE: read
templateCode: 4567
# 验证码方式 1 文字识别验证码验证 2 短信验证码验证 默认1
verifyWay: 1
itaxBase:
sso: ${itax-url.itax-sso}
itax-base-front: ${itax-url.itax-base-front}
#菜单增加单点地址前缀
prefixUrl: /login?redirect_url=
#查询消息列表返回url
noticeInfoReturnUrl: /#/message/notification
xxl:
job:
# xxl-job executor address
executor:
appname: itax-job-api
ip:
port: 19999
# xxl-job log path
logpath: /data/logs/xxlJob-itax-base-api