first version of aida_back

This commit is contained in:
LiaoFJ
2023-01-06 15:17:37 +08:00
parent 7bafabb046
commit 4c531e3961
477 changed files with 15030 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,97 @@
{
"groups": [
{
"name": "file",
"type": "com.ai.da.common.config.FileProperties",
"sourceType": "com.ai.da.common.config.FileProperties"
},
{
"name": "file.linux",
"type": "com.ai.da.common.config.FileProperties$ElPath",
"sourceType": "com.ai.da.common.config.FileProperties",
"sourceMethod": "getLinux()"
},
{
"name": "file.mac",
"type": "com.ai.da.common.config.FileProperties$ElPath",
"sourceType": "com.ai.da.common.config.FileProperties",
"sourceMethod": "getMac()"
},
{
"name": "file.sys",
"type": "com.ai.da.common.config.FileProperties$ElPath",
"sourceType": "com.ai.da.common.config.FileProperties",
"sourceMethod": "getSys()"
},
{
"name": "file.windows",
"type": "com.ai.da.common.config.FileProperties$ElPath",
"sourceType": "com.ai.da.common.config.FileProperties",
"sourceMethod": "getWindows()"
},
{
"name": "spring.security",
"type": "com.ai.da.common.security.config.SecurityProperties",
"sourceType": "com.ai.da.common.security.config.SecurityProperties"
}
],
"properties": [
{
"name": "file.linux-domain",
"type": "java.lang.String",
"sourceType": "com.ai.da.common.config.FileProperties"
},
{
"name": "file.linux.path",
"type": "java.lang.String",
"sourceType": "com.ai.da.common.config.FileProperties$ElPath"
},
{
"name": "file.mac.path",
"type": "java.lang.String",
"sourceType": "com.ai.da.common.config.FileProperties$ElPath"
},
{
"name": "file.sys.path",
"type": "java.lang.String",
"sourceType": "com.ai.da.common.config.FileProperties$ElPath"
},
{
"name": "file.windows.path",
"type": "java.lang.String",
"sourceType": "com.ai.da.common.config.FileProperties$ElPath"
},
{
"name": "spring.security.auth-api",
"type": "java.lang.String",
"sourceType": "com.ai.da.common.security.config.SecurityProperties"
},
{
"name": "spring.security.ignore-paths",
"type": "java.lang.String[]",
"sourceType": "com.ai.da.common.security.config.SecurityProperties"
},
{
"name": "spring.security.jwt-expiration",
"type": "java.lang.Long",
"sourceType": "com.ai.da.common.security.config.SecurityProperties",
"defaultValue": 0
},
{
"name": "spring.security.jwt-secret",
"type": "java.lang.String",
"sourceType": "com.ai.da.common.security.config.SecurityProperties"
},
{
"name": "spring.security.jwt-token-header",
"type": "java.lang.String",
"sourceType": "com.ai.da.common.security.config.SecurityProperties"
},
{
"name": "spring.security.jwt-token-prefix",
"type": "java.lang.String",
"sourceType": "com.ai.da.common.security.config.SecurityProperties"
}
],
"hints": []
}

View File

@@ -0,0 +1,38 @@
server.port=5566
#datasource
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://18.167.251.121:3306/aida?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
spring.datasource.username=root
spring.datasource.password=QWa998345
#security
spring.security.jwtSecret=JWTSECRET
spring.security.jwtTokenHeader=Authorization
spring.security.jwtTokenPrefix=Bearer-
## 24Сʱ
spring.security.jwtExpiration=8640000000
#spring security权限设置 认证了token还要认证权限 不然报错Full authentication is required to access this resource
spring.security.ignorePaths=/,/favicon.ico,/doc.html,/webjars/**,/swagger-resources,/v2/api-docs,\
/api/account/**,/api/element/**,/api/python/**,/api/design/**,/api/history/**,/api/library/**,/api/third/party/**
spring.security.authApi=/auth/login
rsa.private_key=MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==
#mybatis
mybatis-plus.global-config.banner=false
mybatis-plus.mapper-locations=classpath:mapper/*Mapper.xml
#mybatis-plus.configuration.log-impl= org.apache.ibatis.logging.stdout.StdOutImpl
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
file.mac.path=~/file/
file.linux.path=/workspace/home/aida/file/
#linux服务器域名(预览和下载用)
file.linuxDomain=https://www.aida.com.hk/download/
file.windows.path=D:\\upload\\
spring.servlet.multipart.max-file-size = 5MB
spring.servlet.multipart.max-request-size= 5MB
#访问python服务的ip(对应环境)
access.python.ip=http://43.198.80.117

View File

@@ -0,0 +1,44 @@
server.port=5566
#datasource
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://18.162.111.141:3306/aida?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
spring.datasource.username=root
spring.datasource.password=QWa998345
#security
spring.security.jwtSecret=JWTSECRET
spring.security.jwtTokenHeader=Authorization
spring.security.jwtTokenPrefix=Bearer-
## 24Сʱ
spring.security.jwtExpiration=8640000000
#spring security权限设置 认证了token还要认证权限 不然报错Full authentication is required to access this resource
spring.security.ignorePaths=/,/favicon.ico,/doc.html,/webjars/**,/swagger-resources,/v2/api-docs,\
/api/account/**,/api/element/**,/api/python/**,/api/design/**,/api/history/**,/api/library/**,/api/third/party/**
spring.security.authApi=/auth/login
rsa.private_key=MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==
#mybatis
mybatis-plus.global-config.banner=false
mybatis-plus.mapper-locations=classpath:mapper/*Mapper.xml
#mybatis-plus.configuration.log-impl= org.apache.ibatis.logging.stdout.StdOutImpl
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
file.mac.path=~/file/
file.linux.path=/workspace/home/aida/file/
#linux服务器域名(预览和下载用)
file.linuxDomain=http://18.162.111.141:5568/download/
file.windows.path=D:\\upload\\
spring.servlet.multipart.max-file-size = 5MB
spring.servlet.multipart.max-request-size= 5MB
#访问python服务的ip(对应环境)
access.python.ip=http://18.167.251.121

View File

@@ -0,0 +1,5 @@
#<23><><EFBFBD><EFBFBD>application-test<73>ļ<EFBFBD>(<28><><EFBFBD>Ի<EFBFBD><D4BB><EFBFBD>)
#spring.profiles.active=test
#<23><><EFBFBD><EFBFBD>application-prod<6F>ļ<EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
spring.profiles.active=prod

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More