main
HuangHai 2 months ago
parent 26d93fab81
commit 7fc60be11e

@ -1,18 +0,0 @@
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {
"AWS": ["*"]
},
"Action": ["s3:GetBucketLocation", "s3:ListBucket"],
"Resource": ["arn:aws:s3:::dsideal"]
}, {
"Effect": "Allow",
"Principal": {
"AWS": ["*"]
},
"Action": ["s3:GetObject"],
"Resource": ["arn:aws:s3:::dsideal/*"]
}]
}

@ -1,70 +0,0 @@
# 上传文件的临时路径
uploadTempPath: c:/Windows/Temp
# 生成Token的密码
CookieMd5SingPwd: DsideaL4r5t6y7u
# 数据库信息
mysql:
driverClassName: com.mysql.cj.jdbc.Driver
user: ylt
password: Ycharge666
jdbcUrl: jdbc:mysql://10.10.14.210:22066/base_db?reWriteBatchedInserts=true
# redis
redis:
ip: 10.10.14.14
port: 18890
# JWT
jwt:
SECRET: ZXZnZWVr5b+r5LmQ5L2g55qE5Ye66KGM
minio:
endpoint: http://10.10.14.210:9000
accessKey: AOxWewe7pywwEc1NQeP6
secretKey: EiLaKLpLW6OHmjPxvMLBD11Zu3xtV1tdZU9PFVYO
bucketName: dsideal
url: http://10.10.14.210:9000/dsideal
# 网关配置
gateway:
# 超时配置(毫秒)
timeout:
connect: 10000
read: 30000
write: 30000
# 连接池配置
connection:
max: 5
keep-alive: 300
# 安全配置
security:
cors:
allowed-origins: "*" # 或者具体的域名列表,如 "http://localhost:8080,https://your-domain.com"
allowed-methods: "GET,POST,OPTIONS"
allowed-headers: "Content-Type,Authorization,Cookie"
allow-credentials: true
max-age: 3600
# ==============================================================
excel:
# 导出excel 的模板配置路径
excelExportTemplatePathSuffix: /ExcelExportTemplate/
# 导入excel 的模板配置路径
ExcelImportTemplatePathSuffix: /ExcelImportTemplate/
# 即梦
JiMeng:
# Access Key ID
ak: AKLTZjVlOGU1NzA1YWZkNDExMzkzYzY5YTNlOTRmMTMxODg
# Secret Access Key
sk: WkdabU9UTXdNVEJpTmpWbE5HVTJZVGxtTnpWbU5XSTBaRGN5TW1NMk5tRQ==
# 可灵
KeLing:
# Access Key ID
ak: c992fd02624d4900a93ca3b6da03d9e9
# Secret Access Key
sk: b37f67a00eb44f9bb57e4d530c328e1d

@ -1,70 +0,0 @@
# 上传文件的临时路径
uploadTempPath: /tmp
# 生成Token的密码
CookieMd5SingPwd: DsideaL4r5t6y7u
# 数据库信息
mysql:
driverClassName: com.mysql.cj.jdbc.Driver
user: ylt
password: Ycharge666
jdbcUrl: jdbc:mysql://10.10.14.210:22066/base_db?reWriteBatchedInserts=true
# redis
redis:
ip: 10.10.14.14
port: 18890
# JWT
jwt:
SECRET: ZXZnZWVr5b+r5LmQ5L2g55qE5Ye66KGM
minio:
endpoint: http://10.10.14.210:9000
accessKey: AOxWewe7pywwEc1NQeP6
secretKey: EiLaKLpLW6OHmjPxvMLBD11Zu3xtV1tdZU9PFVYO
bucketName: dsideal
url: http://10.10.14.210:9000/dsideal
# 网关配置
gateway:
# 超时配置(毫秒)
timeout:
connect: 10000
read: 30000
write: 30000
# 连接池配置
connection:
max: 5
keep-alive: 300
# 安全配置
security:
cors:
allowed-origins: "*" # 或者具体的域名列表,如 "http://localhost:8080,https://your-domain.com"
allowed-methods: "GET,POST,OPTIONS"
allowed-headers: "Content-Type,Authorization,Cookie"
allow-credentials: true
max-age: 3600
# ==============================================================
excel:
# 导出excel 的模板配置路径
excelExportTemplatePathSuffix: /ExcelExportTemplate/
# 导入excel 的模板配置路径
ExcelImportTemplatePathSuffix: /ExcelImportTemplate/
# 即梦
JiMeng:
# Access Key ID
ak: AKLTZjVlOGU1NzA1YWZkNDExMzkzYzY5YTNlOTRmMTMxODg
# Secret Access Key
sk: WkdabU9UTXdNVEJpTmpWbE5HVTJZVGxtTnpWbU5XSTBaRGN5TW1NMk5tRQ==
# 可灵
KeLing:
# Access Key ID
ak: c992fd02624d4900a93ca3b6da03d9e9
# Secret Access Key
sk: b37f67a00eb44f9bb57e4d530c328e1d

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- 定义日志文件的存储地址 -->
<property name="LOG_HOME" value="logs" />
<!-- 控制台输出 -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
</appender>
<!-- 按照每天生成日志文件 -->
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_HOME}/application.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_HOME}/application.%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
</appender>
<!-- 日志级别 -->
<root level="INFO">
<appender-ref ref="CONSOLE" />
<appender-ref ref="FILE" />
</root>
<!-- 自定义包的日志级别 -->
<logger name="com.dsideal" level="DEBUG"/>
<logger name="com.jfinal" level="INFO"/>
</configuration>

@ -1,11 +0,0 @@
$$\ $$$$$$$\
$$ | $$ __$$\
$$$$$$$ | $$$$$$$\ $$ | $$ | $$$$$$\ $$$$$$$\
$$ __$$ |$$ _____|$$$$$$$ |$$ __$$\ $$ _____|
$$ / $$ |\$$$$$$\ $$ __$$< $$$$$$$$ |\$$$$$$\
$$ | $$ | \____$$\ $$ | $$ |$$ ____| \____$$\
\$$$$$$$ |$$$$$$$ |$$ | $$ |\$$$$$$$\ $$$$$$$ |
\_______|\_______/ \__| \__| \_______|\_______/
power by http://patorjk.com/software/taag/

@ -1,37 +0,0 @@
{
"info": {
"_postman_id": "",
"name": "${projectName}",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
<#list controllerNodes as controller>
{
"name": "${controller.description}",
"item": [
<#list controller.requestNodes as reqNode>
{
"name": "${reqNode.description}",
"request": {
"url": {
"raw": "{{domain}}${reqNode.url}",
"query": [
<#if reqNode.paramNodes?size != 0>
<#list reqNode.paramNodes as paramNode>
{
"key": "${paramNode.name}",
"value": "",
"description": "${paramNode.description}"
}<#if paramNode_has_next>,</#if>
</#list>
</#if>
]
}
}
}<#if reqNode_has_next>,</#if>
</#list>
]
}<#if controller_has_next>,</#if>
</#list>
]
}

@ -1,34 +0,0 @@
# true 值支持热加载
undertow.devMode=true
undertow.port=8002
undertow.host=0.0.0.0
# 目录名称
undertow.contextPath=/dsRes
# 设定I/O线程数.
server.undertow.io-threads=8
# 设定工作线程数
server.undertow.worker-threads=60
# 查询当前某程序的线程或进程数
# yum install psmisc -y
# ps -e | grep java | awk '{print $1}
# pstree -p 15453 | wc -l
# gzip 压缩开关
undertow.gzip.enable=true
# 配置压缩级别,默认值 -1。 可配置 1 到 9。 1 拥有最快压缩速度9 拥有最高压缩率
undertow.gzip.level=-1
# 触发压缩的最小内容长度
undertow.gzip.minLength=1024
# 开启access日志
server.undertow.accesslog.enabled=true
server.undertow.accesslog.pattern=%t %a "%r" %s (%D ms)
# ssl 开启时,是否开启 http2。检测该配置是否生效在 chrome 地址栏中输入: chrome://net-internals/#http2
#undertow.http2.enable=true
#http://www.jfinal.com/doc/1-4
Loading…
Cancel
Save