feat: add new models and update application structure for job scheduling

This commit is contained in:
PIGCLOUD committed 2026-05-01 23:59:12 +08:00
1 parent 124a2547dd
commit 5eff0d71df
54 files changed
+1215 -420

No files matched your search

@@ -29,8 +29,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class PigxBootApplication {
public static void main(String[] args) {
SpringApplication.run(PigxBootApplication.class, args);
}
public static void main(String[] args) {
SpringApplication.run(PigxBootApplication.class, args);
}
}
@@ -12,11 +12,10 @@ spring:
password: root
url: jdbc:mysql://pigx-mysql:3306/pigxx_boot?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
# 文件上传配置
file:
type: local
local:
enable: true
base-path: /Users/lengleng/Downloads/img
# 验证码配置
@@ -36,4 +35,3 @@ jasypt:
# swagger token url 配置
swagger:
token-url: ${swagger.gateway}/admin/oauth2/token
+12 -9
View File
@@ -2,8 +2,6 @@ server:
port: 9999
servlet:
context-path: /admin
undertow:
max-http-post-size: 100MB
spring:
application:
@@ -14,8 +12,8 @@ spring:
# 上传文件大小限制
servlet:
multipart:
max-file-size: ${server.undertow.max-http-post-size}
max-request-size: ${server.undertow.max-http-post-size}
max-file-size: 100MB
max-request-size: 100MB
cloud:
discovery:
enabled: false
@@ -34,6 +32,8 @@ spring:
request-context-attribute: request
main:
allow-bean-definition-overriding: true
jackson:
use-jackson2-defaults: true
profiles:
active: dev
@@ -57,6 +57,7 @@ security:
- /code/**
#--------------如下配置尽量不要变动-------------
management.endpoints.access.default: none # 默认所有端点都不允许访问
# mybatis-plus 配置
mybatis-plus:
mapper-locations: classpath*:/mapper/*Mapper.xml
@@ -73,8 +74,10 @@ mybatis-plus:
call-setters-on-nulls: true
shrink-whitespaces-in-sql: true
# 查询以下前缀的表,不输出日志
pigx:
mybatis:
skip-table:
- QRTZ_ #quartz 定时任务的表
- ACT_ #工作流相关的表
pigx.mybatis.skip-table:
- QRTZ_ #quartz 定时任务的表
- ACT_ #工作流相关的表
# flowable 配置
flowable:
variable-json-mapper: jackson2
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2018-2026, lengleng All rights reserved.
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
@@ -85,6 +85,19 @@
<appender-ref ref="error"/>
</logger>
<!-- magic-api 日志屏蔽 -->
<logger name="org.ssssssss.magicapi" level="OFF">
<appender-ref ref="error"/>
</logger>
<!-- 关闭PDF识别 -->
<logger name="org.apache.pdfbox.pdmodel.font" level="OFF">
</logger>
<logger name="dev.ai4j" level="DEBUG">
<appender-ref ref="debug"/>
</logger>
<!-- Level: FATAL 0 ERROR 3 WARN 4 INFO 6 DEBUG 7 -->
<root level="INFO">
<appender-ref ref="console"/>