Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
涂亚平
/
laowu
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5f665695
authored
Apr 18, 2023
by
涂亚平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oss
1 parent
957a756c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
src/main/resources/application.properties
src/main/resources/application.properties
View file @
5f66569
#
环境配置
#
��������
spring.profiles.active
=
dev
#
和CPU数
#
��CPU
spring.server.acceptorThreadCount
=
600
spring.server.minSpareThreads
=
100
spring.server.maxSpareThreads
=
500
spring.server.maxThreads
=
500
spring.server.maxConnections
=
1000
#10
秒
超时
#10
�볬
ʱ
spring.server.connectionTimeout
=
20000
spring.server.protocol
=
org.apache.coyote.http11.Http11AprProtocol
spring.server.redirectPort
=
8443
spring.server.compression
=
on
#
文件请求大小
#
�ļ������С
spring.server.MaxFileSize
=
300MB
spring.server.MaxRequestSize
=
500MB
#
文件编码
UTF8
#
�ļ����� UT
F8
spring.mandatory-file-
encoding
=
UTF-8
spring.jackson.time-
zone
=
GMT+8
# 404
交给异常处理器处理
# 404
�����쳣����������
spring.mvc.throw-exception-if-no-handler-
found
=
true
#
关闭静态资源的映射
#
�رվ�̬��Դ��ӳ��
spring.resources.add-
mappings
=
false
#
关闭banner打
印
#
�ر�banner��ӡ
mybatis-plus.global-
config.banner
=
false
# mybatis-plus
相关配置
# mybatis-plus
�������
mybatis-plus.mapper-
locations
=
classpath:mapper/*.xml
#
是否开启自动驼峰命名规则映射
#
�Ƿ����Զ��շ���������ӳ��
mybatis-plus.configuration.map-underscore-to-camel-
case
=
true
#
如果查询结果中包含空值的列,则 MyBatis 在映射的时候,不会映射这个字段
#
�����ѯ����а�����ֵ���У��� MyBatis ��ӳ���ʱ����ӳ������ֶ�
mybatis-plus.configuration.call-setters-on-
nulls
=
true
#
逻辑删除
#
��ɾ��
mybatis-plus.global-config.db-config.logic-delete-
value
=
NOW()
mybatis-plus.global-config.db-config.logic-not-delete-
value
=
NULL
#
日志配置
#
��־����
logging.config
=
classpath:logback-spring.xml
#ehcache
缓存配置
#ehcache
��������
spring.cache.type
=
ehcache
spring.cache.ehcache.config
=
classpath:ehcache.xml
#
阿里云短信
#
�����ƶ���
sms.product
=
Dysmsapi
sms.domain
=
dysmsapi.aliyuncs.com
sms.accessKeyId
=
LTAIOrpFKrDqsQ2c
...
...
@@ -52,15 +52,15 @@ vod.api=vod.tencentcloudapi.com
vod.region
=
ap-shanghai
vod.classId
=
848920
# quartz
#
数据持久化方
式
#
���ݳ־û���ʽ
spring.quartz.job-store-
type
=
jdbc
#
初始化后是否自动启动计划程序
#
��ʼ�����Ƿ��Զ������ƻ�����
spring.quartz.auto-
startup
=
true
#
初始化完成后启动计划程序的延迟时间
#
��ʼ����ɺ������ƻ�������ӳ�ʱ��
spring.quartz.startup-
delay
=
10s
#
配置的作业是否应覆盖现有的作业定义
#
���õ���ҵ�Ƿ�Ӧ�������е���ҵ����
spring.quartz.overwrite-existing-
jobs
=
false
#
自动建表,如果已经存在表请勿使用,会覆盖数据表
#
�Զ�����,����Ѿ����ڱ�����ʹ��,�Ḳ�����ݱ�
#spring.quartz.jdbc.initialize-schema=always
#spring.datasource.initialization-mode=embedded
#spring.redis.host=r-uf6m4cpkjrgpzywjm3pd.redis.rds.aliyuncs.com
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment