parent
7fc60be11e
commit
45c7606884
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"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/*"]
|
||||||
|
}]
|
||||||
|
}
|
@ -0,0 +1,70 @@
|
|||||||
|
# 上传文件的临时路径
|
||||||
|
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
|
@ -0,0 +1,70 @@
|
|||||||
|
# 上传文件的临时路径
|
||||||
|
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
|
@ -0,0 +1,36 @@
|
|||||||
|
<?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>
|
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
$$\ $$$$$$$\
|
||||||
|
$$ | $$ __$$\
|
||||||
|
$$$$$$$ | $$$$$$$\ $$ | $$ | $$$$$$\ $$$$$$$\
|
||||||
|
$$ __$$ |$$ _____|$$$$$$$ |$$ __$$\ $$ _____|
|
||||||
|
$$ / $$ |\$$$$$$\ $$ __$$< $$$$$$$$ |\$$$$$$\
|
||||||
|
$$ | $$ | \____$$\ $$ | $$ |$$ ____| \____$$\
|
||||||
|
\$$$$$$$ |$$$$$$$ |$$ | $$ |\$$$$$$$\ $$$$$$$ |
|
||||||
|
\_______|\_______/ \__| \__| \_______|\_______/
|
||||||
|
|
||||||
|
power by http://patorjk.com/software/taag/
|
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"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>
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in new issue