Commit 04435062 by 翁国栋

8小时运营后台--

生产配置文件
parent e77f90b1
...@@ -5,16 +5,6 @@ server: ...@@ -5,16 +5,6 @@ server:
# context-path: /YoulinghrApiV100 # context-path: /YoulinghrApiV100
session: session:
timeout: 2592000 # session会话过期时间 timeout: 2592000 # session会话过期时间
tomcat:
# 最大连接数,默认值是10000
max-connections: 3000
# 最大工作线程数,默认200, 4核8g内存,线程数经验值800
max-threads: 1000
# 等待队列长度,默认100
accept-count: 1000
max-http-post-size: 50MB
min-spare-threads: 50
spring: spring:
servlet: servlet:
multipart: multipart:
...@@ -23,13 +13,13 @@ spring: ...@@ -23,13 +13,13 @@ spring:
jpa: jpa:
# 配置生成表 存储引擎InnoDB # 配置生成表 存储引擎InnoDB
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
# database: # database:
open-in-view: false open-in-view: false
# naming: # naming:
# spring boot jpa hibernate 根据实体类生成表以及字段的命名策略 # spring boot jpa hibernate 根据实体类生成表以及字段的命名策略
# 无修改命名 org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl # 无修改命名 org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
# 遇到大写字母 加”_”的命名 org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl # 遇到大写字母 加”_”的命名 org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
# physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl # physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
hibernate: hibernate:
ddl-auto: update ddl-auto: update
show-sql: true show-sql: true
...@@ -85,36 +75,36 @@ spring: ...@@ -85,36 +75,36 @@ spring:
exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
# 时间戳统一转换 # 时间戳统一转换
jackson: jackson:
date-format: yyyy-MM-dd HH:mm:ss date-format: yyyy-MM-dd HH:mm:ss
# spring boot启动打印横幅 配置 # spring boot启动打印横幅 配置
banner: banner:
charset: UTF-8 # Banner file encoding. charset: UTF-8 # Banner file encoding.
location: banner.txt # Banner text resource location. location: banner.txt # Banner text resource location.
image: image:
location: banner.gif # Banner image file location (jpg or png can also be used). location: banner.gif # Banner image file location (jpg or png can also be used).
width: 76 # Width of the banner image in chars. width: 76 # Width of the banner image in chars.
height: 76 # Height of the banner image in chars (default based on image height). height: 76 # Height of the banner image in chars (default based on image height).
margin: 2 # Left hand image margin in chars. margin: 2 # Left hand image margin in chars.
invert: false # Whether images should be inverted for dark terminal themes. invert: false # Whether images should be inverted for dark terminal themes.
mail: mail:
port: 465 port: 465
protocol: smtp protocol: smtp
host: smtp.163.com host: smtp.youlingrc.com
username: youlingrc123@163.com username: postmaster@youlingrc.com
password: RIMBNJJQNKYNVUWL password: YoulingRC2020
default-encoding: utf-8 default-encoding: utf-8
properties: properties:
mail: mail:
smtp: smtp:
auth: true auth: true
starttls: starttls:
enable: true enable: true
required: true required: true
ssl: # SSL Config ssl: # SSL Config
enable: true enable: true
socketFactory: socketFactory:
port: 465 port: 465
class: javax.net.ssl.SSLSocketFactory class: javax.net.ssl.SSLSocketFactory
redis: redis:
database: 5 # Redis数据库索引(默认为0),如果设置为1,那么存入的key-value都存放在select 1中 database: 5 # Redis数据库索引(默认为0),如果设置为1,那么存入的key-value都存放在select 1中
host: r-wz9p8pve7uem63b10upd.redis.rds.aliyuncs.com host: r-wz9p8pve7uem63b10upd.redis.rds.aliyuncs.com
...@@ -126,7 +116,7 @@ spring: ...@@ -126,7 +116,7 @@ spring:
min-idle: 0 # 连接池中的最小空闲连接 min-idle: 0 # 连接池中的最小空闲连接
timeout: 5000 # 连接超时 timeout: 5000 # 连接超时
#password: 123456 # 密码,默认密码为空 #password: 123456 # 密码,默认密码为空
#cluster: # 集群配置 #cluster: # 集群配置
#nodes: 127.0.0.1:6381,127.0.0.1:6382,127.0.0.1:6383,127.0.0.1:6384,127.0.0.1:6385,127.0.0.1:6386 #nodes: 127.0.0.1:6381,127.0.0.1:6382,127.0.0.1:6383,127.0.0.1:6384,127.0.0.1:6385,127.0.0.1:6386
#max-redirects: 2 # 最大重定向次数 #max-redirects: 2 # 最大重定向次数
devtools: devtools:
...@@ -134,7 +124,7 @@ spring: ...@@ -134,7 +124,7 @@ spring:
poll-interval: 3000ms poll-interval: 3000ms
quiet-period: 2999ms quiet-period: 2999ms
# mybatis-plus # mybatis-plus
mybatis-plus: mybatis-plus:
mapper-locations: classpath:mapping/**/*Mapper.xml # dao到xml文件映射 mapper-locations: classpath:mapping/**/*Mapper.xml # dao到xml文件映射
type-aliases-package: cn.timer.api.bean # xml中#全局类名别名 type-aliases-package: cn.timer.api.bean # xml中#全局类名别名
...@@ -154,7 +144,7 @@ mybatis-plus: ...@@ -154,7 +144,7 @@ mybatis-plus:
#逻辑删除配置 #逻辑删除配置
#logic-delete-value: 0 #logic-delete-value: 0
#logic-not-delete-value: 1 #logic-not-delete-value: 1
# 分页插件 # 分页插件
pagehelper: pagehelper:
helperDialect: mysql helperDialect: mysql
reasonable: true reasonable: true
...@@ -194,13 +184,12 @@ config-8timer: ...@@ -194,13 +184,12 @@ config-8timer:
project_package: 8timer2.0/ project_package: 8timer2.0/
expirationTime: 3153600000000L expirationTime: 3153600000000L
expirationTime_pri: 600000L expirationTime_pri: 600000L
RESUMESDK_APPCODE: 17e3b67b02ab4bef967025cc4938c072 #ResumeSDK简历解析 AppCode
esign: # e签宝 esign: # e签宝
callbackUrl: 'https://client.8timer.cn/callback/esign/dev' callbackUrl: 'https://client.8timer.cn/callback/esign/dev'
redirectUrl: 'http://client.8timer.cn/#/ElecCon/index' redirectUrl: 'http://client.8timer.cn/#/ElecCon/index'
# host: https://openapi.esign.cn # host: https://openapi.esign.cn
# PROJECT_ID: 4438775940 # PROJECT_ID: 4438775940
# PROJECT_SECRET: 7b100813cca2746081c57837855ac5af # PROJECT_SECRET: 7b100813cca2746081c57837855ac5af
remind: #合同提醒时间 默认小于等于1天会提醒+三个配置项 remind: #合同提醒时间 默认小于等于1天会提醒+三个配置项
one: 3 one: 3
two: 7 two: 7
...@@ -209,26 +198,14 @@ config-8timer: ...@@ -209,26 +198,14 @@ config-8timer:
# 创建企业默认添加讯息 # 创建企业默认添加讯息
qyxx: qyxx:
title: '欢迎来到8小时' title: '欢迎来到8小时'
cover: 'http://8time-v2.oss-cn-shenzhen.aliyuncs.com/8timer2.0/261/null/3571E55w28/%E5%9B%9E%E6%9D%A5.png' cover: 'https://8time-v2.oss-cn-shenzhen.aliyuncs.com/8timer2.0/common/qyxx/welcome/%E6%AC%A2%E8%BF%8E%E5%9B%BE.png'
summary: '<h1>欢迎来到8小时!可先前往组织管理-组织架构添加公司架构及岗位,再前往员工管理-员工名册添加企业员工。</h1>' summary: '<h1>欢迎来到8小时!可先前往组织管理-组织架构添加公司架构及岗位,再前往员工管理-员工名册添加企业员工。</h1>'
author: 'System' author: 'System'
# 客户管理导入服务器保存路径 # 客户管理导入服务器保存路径
crm-excel: crm-excel:
realPath: '/data/crm-excel/' realPath: '/data/crm-excel/'
# 百度人才智库(TIC)
baidu-tic:
appid: XOATkGqX6LvCW3i3Eqd5rg6h
secret: UqqNAF1nltMjAOz9yxqHPjZlnjtC2gSS
# 文件存储地址配置 file type:aliyun-oss,physics-oss
# 文件存储地址类型:aliyun-oss(阿里云OSS),physics-oss(物理机器OSS)
# 默认存储物理机器OSS
file-address:
#type: physics-oss
type: aliyun-oss
#导出zip临时地址 #导出zip临时地址
zip: zip:
...@@ -240,25 +217,17 @@ BASE_API_URL: 'http://api.8timer.cn' ...@@ -240,25 +217,17 @@ BASE_API_URL: 'http://api.8timer.cn'
sftp: sftp:
client: client:
protocol: 'sftp' protocol: 'sftp'
host: '112.74.91.126' host: '120.78.162.177'
port: '22' port: '22'
username: 'root' username: 'root'
password: 'fksdlfjs(*&&%HGgjfkdjsfhksh9781283KFHFFGHghhndbv##2@' password: 'fksdlfjs(*&&%HGgjfkdjsfhksh9781283KFHFFGHghhndbv##2@'
root: '/home' root: '/home'
sessionStrictHostKeyChecking: 'no' sessionStrictHostKeyChecking: 'no'
sessionConnectTimeout: '15000' sessionConnectTimeout: '1500'
channelConnectedTimeout: '15000' channelConnectedTimeout: '1500'
serverUrl: 'https://img.8timer.cn' serverUrl: 'https://img.8timer.cn'
targetPath: '/disk' targetPath: '/disk'
reservedName: false reservedName: false
#微信公众号(服务号)
wxgzh:
appid: 'wxd331ab19a67e2319'
appSecret: '7032afbdb4235a45e2400b98a8ec4763'
#我方token 在微信公众号基本配置里面配置( token = 8timer123 md5加密得)
token: 'af37997effca937229453180e830b164'
#消息加解密密钥
encodingAesKey: 'chAbt69dLAtk8HH0oGMuZwHzK2SuhnxZI5Jbzc4nNzX'
insure: insure:
#投保 appid #投保 appid
...@@ -266,37 +235,31 @@ insure: ...@@ -266,37 +235,31 @@ insure:
#投保 secret #投保 secret
secret: '1ef7b79471be7f6b5489832c65109f81' secret: '1ef7b79471be7f6b5489832c65109f81'
#投保上传文件 #投保上传文件
uploadUrl: 'https://portal.unistar-ins.com/service/Home/Index/fileUpload' uploadUrl: 'http://sandbox.portal.unistar-ins.com/service/Home/Index/fileUpload'
#投保立即出单 #投保立即出单
insuredUrl: 'https://portal.unistar-ins.com/mall/Home/Index/createQuotePolicy' insuredUrl: 'http://sandbox.portal.unistar-ins.com/mall/Home/Index/createQuotePolicy'
#投保请求出单 #投保请求出单
getPolicyUrl: 'https://portal.unistar-ins.com/issuing/Home/Index/index' getPolicyUrl: 'http://sandbox.portal.unistar-ins.com/issuing/Home/Index/index'
#查询保单信息
policyDetail: 'http://sandbox.portal.unistar-ins.com/issuing/Home/Index/policy'
#申请保单 #申请保单
createQuote: 'https://portal.unistar-ins.com/mall/Home/Index/createQuote' createQuote: 'http://sandbox.portal.unistar-ins.com/mall/Home/Index/createQuote'
#投保支付 #投保支付
toPayUrl: 'https://portal.unistar-ins.com/mall/Home/Pay/toPay' toPayUrl: 'http://sandbox.portal.unistar-ins.com/mall/Home/Pay/toPay'
#保全支付 #保全支付
batchToPayUrl: 'https://portal.unistar-ins.com/fuli/Home/ImportPay/set_import_pay' batchToPayUrl: 'http://sandbox.portal.unistar-ins.com/fuli/Home/ImportPay/set_import_pay'
#查询保单信息 #预付款出单接口
policyDetail: 'https://portal.unistar-ins.com/issuing/Home/Index/policy' issue: 'https://portal.unistar-ins.com/cps/Labor/Policy/issue'
#保全appid #保全appid
appidq: '1000711000604326196' appidq: '1000711000604326196'
#保全 secret #保全 secret
secretq: 'a2da17a2797c63dff9172df50af9da65' secretq: 'a2da17a2797c63dff9172df50af9da65'
#保全上传文件 #保全上传文件
uploadUrlq: 'https://portal.unistar-ins.com/fuli/Home/Index/file_upload' uploadUrlq: 'http://sandbox.portal.unistar-ins.com/fuli/Home/Index/file_upload'
#保全申请 #保全申请
batchUrl: 'https://portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare' batchUrl: 'http://sandbox.portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare'
#保全取消支付 #保全取消支付
cancelPayment: 'https://portal.unistar-ins.com/fuli/Home/OrderImport/order_import_set' cancelPayment: 'http://sandbox.portal.unistar-ins.com/fuli/Home/OrderImport/order_import_set'
#预付款提交接口
youling: order_import_set: 'http://sandbox.portal.unistar-ins.com/cps/Labor/OrderImport/order_import_set'
serverUrl: 'https://www.youlingrc.com'
#h5服务地址
h5:
url: 'http://h5.8timer.cn'
#支付回调
pay_page: 'http://oss.8timer.cn'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment