forked from moshowgame/SpringBootCodeGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] master from moshowgame:master #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
generator-web/src/main/resources/application-json.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| server: | ||
| port: 1235 | ||
| http2: | ||
| enabled: true | ||
| servlet: | ||
| context-path: /generator | ||
| #tomcat: | ||
| # remote-ip-header: x-forward-for | ||
| # uri-encoding: UTF-8 | ||
| # max-threads: 10 | ||
| # background-processor-delay: 30 | ||
| # basedir: ${user.home}/tomcat/ | ||
| undertow: | ||
| # 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程 | ||
| # 不要设置过大,如果过大,启动项目会报错:打开文件数过多 | ||
| io-threads: 4 | ||
| # 阻塞任务线程池, 当执行类似servlet请求阻塞IO操作, undertow会从这个线程池中取得线程 | ||
| # 它的值设置取决于系统线程执行任务的阻塞系数,默认值是IO线程数*8 | ||
| worker-threads: 64 | ||
| # 以下的配置会影响buffer,这些buffer会用于服务器连接的IO操作,有点类似netty的池化内存管理 | ||
| # 每块buffer的空间大小,越小的空间被利用越充分,不要设置太大,以免影响其他应用,合适即可 | ||
| buffer-size: 1024 | ||
| # 是否分配的直接内存(NIO直接分配的堆外内存) | ||
| direct-buffers: true | ||
| spring: | ||
| banner: | ||
| charset: UTF-8 | ||
| web: | ||
| encoding: | ||
| force: true | ||
| charset: UTF-8 | ||
| application: | ||
| name: spring-boot-code-generator | ||
| freemarker: | ||
| request-context-attribute: request | ||
| suffix: .html | ||
| content-type: text/html | ||
| enabled: true | ||
| cache: false | ||
| charset: UTF-8 | ||
| allow-request-override: false | ||
| expose-request-attributes: true | ||
| expose-session-attributes: true | ||
| expose-spring-macro-helpers: true | ||
| settings: | ||
| number_format: 0.## | ||
| default_encoding: UTF-8 | ||
| #template_loader: /templates/ | ||
| #mvc: | ||
| # static-path-pattern: /statics/** | ||
| OEM: | ||
| version: 2025 March | ||
| header: SQL转Java JPA、MYBATIS实现类代码生成平台 | ||
| keywords: sql转实体类,sql转DAO,SQL转service,SQL转JPA实现,SQL转MYBATIS实现 | ||
| title: JAVA在线代码生成 | ||
| slogan: Release your hands from tedious and repetitive CRUD tasks. | ||
| description: <p>SpringBootCodeGenerator,又名`大狼狗代码生成器`、`SQL转JAVA`、`SQL转JPA`、`SQL转Mybatis`、`Mybatis在线生成器`、`SQL转Java JPA、MYBATIS实现类代码生成平台`。</p><p>——从繁琐重复的`CRUD工作`中释放你的双手,可通过DDL SQL语句或Select SQL语句或简单Json -> 生成JPA/JdbcTemplate/Mybatis/MybatisPlus/BeetlSQL/CommonMapper等相关模板代码。</p> | ||
| author: https://www.json.cn/ | ||
| packageName: www.json.cn | ||
| copyright: Powered by <a href="https://zhengkai.blog.csdn.net" target="_blank">Moshow</a> + <a href="https://www.json.cn/">JSON</a> , Might the holy light be with you ! | ||
| returnUtilSuccess: ResponseUtil.success | ||
| returnUtilFailure: ResponseUtil.error | ||
| outputStr: www.json.cn | ||
| mode: local |
Binary file not shown.
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.