-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
希望在Content API中提供通过themeId查询主题信息及配置的接口 #1659
Labels
Milestone
Comments
@fuzui Thanks for reaching out here. We will consider your request in Halo 1.5.x. /kind feature |
JohnNiang
added
the
kind/feature
Categorizes issue or PR as related to a new feature.
label
Feb 18, 2022
这里我提供一下实现思路,希望有兴趣的朋友能够根据该思路达成参与 Halo 的成就。 思路实现“根据 themeId 获取主题信息及配置信息”接口 halo/src/main/java/run/halo/app/controller/content/api/ThemeController.java Lines 19 to 42 in d961a5e
实现过程中,可能需要通过以下服务来获取主题详情:
|
/assign @guqing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your current Halo version
1.4.17
Describe this feature
目前Content API中仅能够查询当前使用的主题的信息及配置。
因如果我想在其他端(例如APP、小程序)中能够通过后台灵活配置一些参数,但我仍不想放弃我当前在web端正在使用的主题。
目前能想到的便是通过拉取一个特有主题来获取其配置,但在后台仅仅只是配置它,并不启用它。
Additional information
No response
The text was updated successfully, but these errors were encountered: