diff --git a/dsAiSupport/target/classes/SetMinioDownload.json b/dsAiSupport/target/classes/SetMinioDownload.json new file mode 100644 index 00000000..5955e673 --- /dev/null +++ b/dsAiSupport/target/classes/SetMinioDownload.json @@ -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/*"] + }] +} \ No newline at end of file diff --git a/dsAiSupport/target/classes/application_dev.yaml b/dsAiSupport/target/classes/application_dev.yaml new file mode 100644 index 00000000..0286e0a5 --- /dev/null +++ b/dsAiSupport/target/classes/application_dev.yaml @@ -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 diff --git a/dsAiSupport/target/classes/application_pro.yaml b/dsAiSupport/target/classes/application_pro.yaml new file mode 100644 index 00000000..5f29bea4 --- /dev/null +++ b/dsAiSupport/target/classes/application_pro.yaml @@ -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 \ No newline at end of file diff --git a/dsAiSupport/target/classes/logback.xml b/dsAiSupport/target/classes/logback.xml new file mode 100644 index 00000000..62595c75 --- /dev/null +++ b/dsAiSupport/target/classes/logback.xml @@ -0,0 +1,36 @@ + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n + UTF-8 + + + + + + ${LOG_HOME}/application.log + + ${LOG_HOME}/application.%d{yyyy-MM-dd}.log + 30 + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n + UTF-8 + + + + + + + + + + + + + \ No newline at end of file diff --git a/dsAiSupport/target/classes/logo.txt b/dsAiSupport/target/classes/logo.txt new file mode 100644 index 00000000..b48587cd --- /dev/null +++ b/dsAiSupport/target/classes/logo.txt @@ -0,0 +1,11 @@ + + $$\ $$$$$$$\ + $$ | $$ __$$\ + $$$$$$$ | $$$$$$$\ $$ | $$ | $$$$$$\ $$$$$$$\ +$$ __$$ |$$ _____|$$$$$$$ |$$ __$$\ $$ _____| +$$ / $$ |\$$$$$$\ $$ __$$< $$$$$$$$ |\$$$$$$\ +$$ | $$ | \____$$\ $$ | $$ |$$ ____| \____$$\ +\$$$$$$$ |$$$$$$$ |$$ | $$ |\$$$$$$$\ $$$$$$$ | + \_______|\_______/ \__| \__| \_______|\_______/ + +power by http://patorjk.com/software/taag/ \ No newline at end of file diff --git a/dsAiSupport/target/classes/postman-doc.json.ftl b/dsAiSupport/target/classes/postman-doc.json.ftl new file mode 100644 index 00000000..4ce6ceee --- /dev/null +++ b/dsAiSupport/target/classes/postman-doc.json.ftl @@ -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 reqNode_has_next>, + + ] + }<#if controller_has_next>, + +] +} \ No newline at end of file diff --git a/dsAiSupport/target/classes/undertow.properties b/dsAiSupport/target/classes/undertow.properties new file mode 100644 index 00000000..f3c54a2e --- /dev/null +++ b/dsAiSupport/target/classes/undertow.properties @@ -0,0 +1,34 @@ +# 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