附带jar
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,5 @@
|
|||||||
HELP.md
|
HELP.md
|
||||||
target/
|
# target/
|
||||||
.mvn/wrapper/maven-wrapper.jar
|
.mvn/wrapper/maven-wrapper.jar
|
||||||
!**/src/main/**/target/
|
!**/src/main/**/target/
|
||||||
!**/src/test/**/target/
|
!**/src/test/**/target/
|
||||||
|
|||||||
8
git.md
8
git.md
@@ -25,10 +25,16 @@ https://git.njtobobsales.top/guxz/aue.git
|
|||||||
|
|
||||||
# 四、日常更新代码(自己修改代码时)
|
# 四、日常更新代码(自己修改代码时)
|
||||||
```bash
|
```bash
|
||||||
git pull # 每次开始写代码前必用
|
# 检查远程是否有更新(不会修改本地代码)
|
||||||
|
git fetch origin
|
||||||
|
git status
|
||||||
|
git pull # 多人每次开始写代码前必用
|
||||||
|
|
||||||
git add . # 记录新增/修改
|
git add . # 记录新增/修改
|
||||||
|
git add -A # 记录所有新增/修改/删除
|
||||||
git commit -m "说明" # 提交本地
|
git commit -m "说明" # 提交本地
|
||||||
git push # 上传到仓库
|
git push # 上传到仓库
|
||||||
|
git config --global credential.helper manager # 记住密码
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
106
target/classes/application-dev.yml
Normal file
106
target/classes/application-dev.yml
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
server:
|
||||||
|
port: 8080
|
||||||
|
servlet:
|
||||||
|
context-path: /api
|
||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://localhost:3306/knowledge_management_system?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||||
|
username: ${DB_USERNAME:root}
|
||||||
|
password: ${DB_PASSWORD:123456}
|
||||||
|
|
||||||
|
servlet:
|
||||||
|
multipart:
|
||||||
|
enabled: true
|
||||||
|
max-file-size: 100MB
|
||||||
|
max-request-size: 100MB
|
||||||
|
file-size-threshold: 2KB
|
||||||
|
jackson:
|
||||||
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
|
time-zone: GMT+8
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: ${REDIS_HOST:redis}
|
||||||
|
port: ${REDIS_PORT:6379}
|
||||||
|
password: ${REDIS_PASSWORD:}
|
||||||
|
database: 0
|
||||||
|
timeout: 3000ms
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
max-active: 8
|
||||||
|
max-idle: 8
|
||||||
|
min-idle: 0
|
||||||
|
max-wait: -1ms
|
||||||
|
|
||||||
|
springdoc:
|
||||||
|
api-docs:
|
||||||
|
enabled: ${SWAGGER_ENABLED:true}
|
||||||
|
path: /v3/api-docs
|
||||||
|
swagger-ui:
|
||||||
|
enabled: ${SWAGGER_ENABLED:true}
|
||||||
|
path: /swagger-ui.html
|
||||||
|
tags-sorter: alpha
|
||||||
|
operations-sorter: alpha
|
||||||
|
group-configs:
|
||||||
|
- group: 'default'
|
||||||
|
paths-to-match: '/**'
|
||||||
|
packages-to-scan: top.tqx.demo_1.controller
|
||||||
|
|
||||||
|
mybatis-plus:
|
||||||
|
mapper-locations: classpath*:mapper/**/*.xml
|
||||||
|
type-aliases-package: top.tqx.demo_1.entity
|
||||||
|
global-config:
|
||||||
|
db-config:
|
||||||
|
id-type: auto
|
||||||
|
logic-delete-value: 1
|
||||||
|
logic-not-delete-value: 0
|
||||||
|
configuration:
|
||||||
|
map-underscore-to-camel-case: true
|
||||||
|
cache-enabled: true
|
||||||
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||||
|
|
||||||
|
jwt:
|
||||||
|
secret: ${JWT_SECRET:your-secret-key-for-jwt-token-generation-2024-change-in-production}
|
||||||
|
expiration: 7200000
|
||||||
|
header: Authorization
|
||||||
|
prefix: Bearer
|
||||||
|
|
||||||
|
ai:
|
||||||
|
api:
|
||||||
|
host: ${AI_HOST:localhost}
|
||||||
|
port: ${AI_PORT:5001}
|
||||||
|
key: ${AI_KEY:app-0iWrwSYdTczCmRmtVNhfjWnq}
|
||||||
|
|
||||||
|
file:
|
||||||
|
upload:
|
||||||
|
path: ./uploads/
|
||||||
|
url-prefix: /files/
|
||||||
|
allowed-extensions:
|
||||||
|
- .doc
|
||||||
|
- .docx
|
||||||
|
- .pdf
|
||||||
|
- .txt
|
||||||
|
- .jpg
|
||||||
|
- .jpeg
|
||||||
|
- .png
|
||||||
|
- .gif
|
||||||
|
- .webp
|
||||||
|
max-size: 10485760
|
||||||
|
|
||||||
|
x-key: ${X_KEY:password123}
|
||||||
|
|
||||||
|
cors:
|
||||||
|
allowed-origins: ${CORS_ALLOWED_ORIGINS:*}
|
||||||
|
|
||||||
|
logging:
|
||||||
|
level:
|
||||||
|
top.tqx.demo_1: INFO
|
||||||
|
org.springframework.security: WARN
|
||||||
|
pattern:
|
||||||
|
console: "%d{yyyy-MM-dd HH:mm:ss} - %msg%n"
|
||||||
|
file: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
|
||||||
|
file:
|
||||||
|
name: /app/logs/file-management-system.log
|
||||||
|
max-size: 10MB
|
||||||
|
max-history: 30
|
||||||
105
target/classes/application-prod.yml
Normal file
105
target/classes/application-prod.yml
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
server:
|
||||||
|
port: 8080
|
||||||
|
servlet:
|
||||||
|
context-path: /api
|
||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://${DB_HOST:mysql}:3306/knowledge_management_system?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||||
|
username: ${DB_USERNAME:root}
|
||||||
|
password: ${DB_PASSWORD:123456}
|
||||||
|
|
||||||
|
servlet:
|
||||||
|
multipart:
|
||||||
|
enabled: true
|
||||||
|
max-file-size: 500MB
|
||||||
|
max-request-size: 500MB
|
||||||
|
file-size-threshold: 2KB
|
||||||
|
jackson:
|
||||||
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
|
time-zone: GMT+8
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: ${REDIS_HOST:redis}
|
||||||
|
port: ${REDIS_PORT:6379}
|
||||||
|
password: ${REDIS_PASSWORD:}
|
||||||
|
database: 0
|
||||||
|
timeout: 3000ms
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
max-active: 8
|
||||||
|
max-idle: 8
|
||||||
|
min-idle: 0
|
||||||
|
max-wait: -1ms
|
||||||
|
|
||||||
|
springdoc:
|
||||||
|
api-docs:
|
||||||
|
enabled: ${SWAGGER_ENABLED:true}
|
||||||
|
path: /v3/api-docs
|
||||||
|
swagger-ui:
|
||||||
|
enabled: ${SWAGGER_ENABLED:true}
|
||||||
|
path: /swagger-ui.html
|
||||||
|
tags-sorter: alpha
|
||||||
|
operations-sorter: alpha
|
||||||
|
group-configs:
|
||||||
|
- group: 'default'
|
||||||
|
paths-to-match: '/**'
|
||||||
|
packages-to-scan: top.tqx.demo_1.controller
|
||||||
|
|
||||||
|
mybatis-plus:
|
||||||
|
mapper-locations: classpath*:mapper/**/*.xml
|
||||||
|
type-aliases-package: top.tqx.demo_1.entity
|
||||||
|
global-config:
|
||||||
|
db-config:
|
||||||
|
id-type: auto
|
||||||
|
logic-delete-value: 1
|
||||||
|
logic-not-delete-value: 0
|
||||||
|
configuration:
|
||||||
|
map-underscore-to-camel-case: true
|
||||||
|
cache-enabled: true
|
||||||
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||||
|
|
||||||
|
jwt:
|
||||||
|
secret: ${JWT_SECRET:your-secret-key-for-jwt-token-generation-2024-change-in-production}
|
||||||
|
expiration: 7200000
|
||||||
|
header: Authorization
|
||||||
|
prefix: Bearer
|
||||||
|
|
||||||
|
ai:
|
||||||
|
api:
|
||||||
|
host: ${AI_HOST:localhost}
|
||||||
|
port: ${AI_PORT:5001}
|
||||||
|
|
||||||
|
file:
|
||||||
|
upload:
|
||||||
|
path: /app/uploads/
|
||||||
|
url-prefix: /files/
|
||||||
|
allowed-extensions:
|
||||||
|
- .doc
|
||||||
|
- .docx
|
||||||
|
- .pdf
|
||||||
|
- .txt
|
||||||
|
- .jpg
|
||||||
|
- .jpeg
|
||||||
|
- .png
|
||||||
|
- .gif
|
||||||
|
- .webp
|
||||||
|
max-size: 524288000
|
||||||
|
|
||||||
|
x-key: ${X_KEY:password123}
|
||||||
|
|
||||||
|
cors:
|
||||||
|
allowed-origins: ${CORS_ALLOWED_ORIGINS:*}
|
||||||
|
|
||||||
|
logging:
|
||||||
|
level:
|
||||||
|
top.tqx.demo_1: INFO
|
||||||
|
org.springframework.security: WARN
|
||||||
|
pattern:
|
||||||
|
console: "%d{yyyy-MM-dd HH:mm:ss} - %msg%n"
|
||||||
|
file: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
|
||||||
|
file:
|
||||||
|
name: /app/logs/file-management-system.log
|
||||||
|
max-size: 10MB
|
||||||
|
max-history: 30
|
||||||
5
target/classes/application.yml
Normal file
5
target/classes/application.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
spring:
|
||||||
|
main:
|
||||||
|
allow-circular-references: true
|
||||||
|
profiles:
|
||||||
|
active: dev
|
||||||
BIN
target/classes/top/tqx/demo_1/Demo1Application.class
Normal file
BIN
target/classes/top/tqx/demo_1/Demo1Application.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/annotation/RateLimit.class
Normal file
BIN
target/classes/top/tqx/demo_1/annotation/RateLimit.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/aspect/LogAspect.class
Normal file
BIN
target/classes/top/tqx/demo_1/aspect/LogAspect.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/aspect/RateLimitAspect.class
Normal file
BIN
target/classes/top/tqx/demo_1/aspect/RateLimitAspect.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/common/PageResult.class
Normal file
BIN
target/classes/top/tqx/demo_1/common/PageResult.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/common/Result.class
Normal file
BIN
target/classes/top/tqx/demo_1/common/Result.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/AiApiConfig$FAQConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/AiApiConfig$FAQConfig.class
Normal file
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.
BIN
target/classes/top/tqx/demo_1/config/AiApiConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/AiApiConfig.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/AsyncConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/AsyncConfig.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/CorsConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/CorsConfig.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/JacksonConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/JacksonConfig.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/JwtProperties.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/JwtProperties.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/MybatisPlusConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/MybatisPlusConfig.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/RedisConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/RedisConfig.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/RestTemplateConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/RestTemplateConfig.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/SwaggerConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/SwaggerConfig.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/config/WebConfig.class
Normal file
BIN
target/classes/top/tqx/demo_1/config/WebConfig.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/constant/CommonConstant.class
Normal file
BIN
target/classes/top/tqx/demo_1/constant/CommonConstant.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/AIChatController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/AIChatController.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/AiDataController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/AiDataController.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/AuthController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/AuthController.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/BaseController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/BaseController.class
Normal file
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.
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/ExamController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/ExamController.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/FAQController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/FAQController.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/FileController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/FileController.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/ImageController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/ImageController.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/KBRouteController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/KBRouteController.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/LogController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/LogController.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/ReportController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/ReportController.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/RoleController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/RoleController.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/SearchController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/SearchController.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/controller/UserController.class
Normal file
BIN
target/classes/top/tqx/demo_1/controller/UserController.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/DepartmentCreateRequest.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/DepartmentCreateRequest.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/DepartmentUpdateRequest.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/DepartmentUpdateRequest.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/ExamGenerateRequest.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/ExamGenerateRequest.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/ExamGenerateResponse.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/ExamGenerateResponse.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/ExamGradeRequest.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/ExamGradeRequest.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/ExamGradeResponse.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/ExamGradeResponse.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/ExamPaperGenerateRequest.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/ExamPaperGenerateRequest.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/ExamPaperPreviewResponse.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/ExamPaperPreviewResponse.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/ExamPaperResponse.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/ExamPaperResponse.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/ExamPaperSaveRequest.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/ExamPaperSaveRequest.class
Normal file
Binary file not shown.
BIN
target/classes/top/tqx/demo_1/dto/ExamPublishRequest.class
Normal file
BIN
target/classes/top/tqx/demo_1/dto/ExamPublishRequest.class
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user