diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1d40f87a..388f81d3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -13,12 +13,14 @@ body: label: 请您确认 description: 在提交 Issue 之前,请确保执行过以下操作。 options: - - label: 尝试最新 dev 分支代码,仍有相同问题 + - label: 重启项目后,仍然能够复现此问题 required: true - - label: 阅读[使用指南](https://continew.top/admin/intro/what-is.html) + - label: 阅读[使用指南](https://continew.top/admin/backend/structure.html) required: true - label: 查找[常见问题](https://continew.top/faq.html) required: true + - label: 尝试最新 dev 分支代码,仍有相同问题 + required: true - label: 根据报错信息(自行翻译英文)百度或 Google 一下 required: true - label: 搜索是否有其他人提交过类似的 Issue,如果对应 Issue 尚未解决,您可以先订阅关注该 Issue(为了方便后来者查找问题解决方法,请尽量避免创建重复的 Issue) @@ -39,7 +41,7 @@ body: id: reproduction attributes: label: 复现步骤 - description: 条理清晰的步骤或演示视频可以帮助快速定位问题。 + description: 条理清晰的步骤及图片或演示视频可以帮助快速定位问题。 placeholder: 例如:1、xxx; 2、xxx; validations: required: true @@ -54,12 +56,12 @@ body: - type: textarea id: environment-info attributes: - label: 环境信息 - description: | - examples: - - **ContiNew Admin version(s)**: v3.0.1 - value: "ContiNew Admin version(s):" - render: markdown + label: 版本信息 + description: 请务必填写版本信息(项目启动后在控制台可以查看到),否则视为无效 Issue。 + value: | + JDK 版本: + ContiNew Starter 版本: + ContiNew Admin 版本: validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index e0007f08..ddfb93e7 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -13,10 +13,12 @@ body: label: 请您确认 description: 在提交 Feature 之前,请确保执行过以下操作。 options: - - label: 阅读[使用指南](https://continew.top/admin/intro/what-is.html) + - label: 阅读[使用指南](https://continew.top/admin/backend/structure.html) required: true - label: 查找[常见问题](https://continew.top/faq.html) required: true + - label: 尝试最新 dev 分支代码,仍没有该功能 + required: false - label: 查看[需求墙](https://continew.top/require.html)计划 required: true - label: 搜索是否有其他人提交过类似的 Feature,如果对应 Feature 尚未完成,您可以先订阅关注该 Feature(为了方便后来者查找问题解决方法,请尽量避免创建重复的 Feature) diff --git a/continew-webapi/src/main/java/top/continew/admin/ContiNewAdminApplication.java b/continew-webapi/src/main/java/top/continew/admin/ContiNewAdminApplication.java index 5c7fa8f5..99c5a9cd 100644 --- a/continew-webapi/src/main/java/top/continew/admin/ContiNewAdminApplication.java +++ b/continew-webapi/src/main/java/top/continew/admin/ContiNewAdminApplication.java @@ -65,7 +65,7 @@ public class ContiNewAdminApplication implements ApplicationRunner { @SaIgnore @GetMapping("/") public R index() { - return R.ok("%s service started successfully.".formatted(projectProperties.getName()), null); + return R.ok(projectProperties); } @Override diff --git a/continew-webapi/src/main/resources/config/application.yml b/continew-webapi/src/main/resources/config/application.yml index f4a4ab77..f1fff210 100644 --- a/continew-webapi/src/main/resources/config/application.yml +++ b/continew-webapi/src/main/resources/config/application.yml @@ -65,6 +65,8 @@ continew-starter.web: default-error-msg: error # 是否将原生异常错误信息填充到状态信息中 origin-exception-using-detail-message: false + # 响应类全名(配置后 response-style 将不再生效) + response-class-full-name: top.continew.starter.web.model.R --- ### 全局树结构配置(简单树,对应前端 UI) continew-starter.crud: