Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

refactor: ♻️ optimize custom field logic and update related models#1020

Merged
shalousun merged 2 commits intoTongchengOpenSource:masterfrom
linwumingshi:refactor/custom-field
Jan 23, 2025
Merged

refactor: ♻️ optimize custom field logic and update related models#1020
shalousun merged 2 commits intoTongchengOpenSource:masterfrom
linwumingshi:refactor/custom-field

Conversation

@linwumingshi
Copy link
Collaborator

  • Move custom field retrieval logic to getCustomFieldInfo method
  • Add customResponseField and customRequestField properties to CustomFieldInfo
  • Update JsonBuildHelper and ParamsBuildHelper to use new CustomFieldInfo structure
  • Improve code readability and maintainability by reducing duplicate logic

- Move custom field retrieval logic to getCustomFieldInfo method
- Add customResponseField and customRequestField properties to CustomFieldInfo
- Update JsonBuildHelper and ParamsBuildHelper to use new CustomFieldInfo structure
- Improve code readability and maintainability by reducing duplicate logic
@github-actions
Copy link

Thanks for your PR. 🙏
Please check again for your PR changes whether they contain any usage configuration change, such as Add new configuration or Change default value of configuration.
If so, please add or update documents (Markdown format) in the docs/ directory of the repository smart-doc-group/smart-doc-group.github.io.

In addition, if you have added new features, please provide example code in the repository smart-doc-group/smart-doc-example-cn. This will help other users understand how to use the new features.

Code Style Reminder:
The code should use the Spring code style. Please format your code using the command mvn spring-javaformat:apply. You can also install the Spring Java Format plugin for convenience.


感谢您提交的PR。 🙏
请再次查看您的PR内容,确认是否包含任何使用方式或配置参数的变更,如:新增配置参数修改默认配置等操作。
如果是,请确保在提交之前,在仓库smart-doc-group/smart-doc-group.github.io中的docs/目录下添加或更新文档(Markdown格式)。

另外,如果您添加了新功能,请在仓库smart-doc-group/smart-doc-example-cn中提供示例代码。这将帮助其他用户了解如何使用新功能。

代码风格提示:
请使用 Spring 代码风格。您可以通过命令 mvn spring-javaformat:apply 格式化代码。为了方便操作,您还可以安装 Spring Java Format 插件。

- Add `-DskipTests=true` flag to mvn install command to skip tests during build
- Update step name from "Build and Install Plugin" to "Build and Install"
- Update step name from "Upload Plugin Artifact" to "Upload Artifact"
@shalousun shalousun merged commit 515e1d3 into TongchengOpenSource:master Jan 23, 2025
11 checks passed
@shalousun shalousun added this to the 3.1.0 milestone Jan 23, 2025
@shalousun shalousun added the enhancement New feature or request label Jan 23, 2025
@linwumingshi linwumingshi deleted the refactor/custom-field branch January 24, 2025 01:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants