Skip to content
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

提供 Sprig 模板渲染 API #7767

Closed
svchord opened this issue Mar 24, 2023 · 0 comments
Closed

提供 Sprig 模板渲染 API #7767

svchord opened this issue Mar 24, 2023 · 0 comments
Assignees
Milestone

Comments

@svchord
Copy link

svchord commented Mar 24, 2023

在什么情况下你需要该特性?In what scenarios do you need this feature?

解析日记保存路径

描述可能的最优解决方案 Describe the optimal solution

API: /api/template/renderSprig
Request Body: { template: '/daily note/{{now | date "2006/01"}}/{{now | date "2006-01-02"}}'  }
Response Body: { data : '/daily note/2006/01/2006-01-02'  }

描述候选的解决方案 Describe the candidate solution

No response

其他信息 Other information

No response

@svchord svchord changed the title 请输入特性提议标题 Please enter the title of the feature request Sprig 模板解析 API Mar 24, 2023
@88250 88250 self-assigned this Mar 24, 2023
@88250 88250 added this to the 2.8.1 milestone Mar 24, 2023
@88250 88250 changed the title Sprig 模板解析 API 支持 Sprig 模板解析 API Mar 24, 2023
@88250 88250 changed the title 支持 Sprig 模板解析 API 提供 Sprig 模板解析 API Mar 24, 2023
@88250 88250 changed the title 提供 Sprig 模板解析 API 提供 Sprig 模板渲染 API Mar 24, 2023
88250 added a commit that referenced this issue Mar 24, 2023
@88250 88250 closed this as completed Mar 24, 2023
88250 added a commit that referenced this issue Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants