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

[Feature] 收藏的接口聚合和优化 #617

Closed
1 task done
chivehao opened this issue Jul 11, 2024 · 0 comments · Fixed by #618
Closed
1 task done

[Feature] 收藏的接口聚合和优化 #617

chivehao opened this issue Jul 11, 2024 · 0 comments · Fixed by #618
Labels
area/server Issues or PRs related to the Ikaros Server feature New feature or request
Milestone

Comments

@chivehao
Copy link
Member

chivehao commented Jul 11, 2024

创建前查询

  • 我已经在 issues 列表 里查询过,并且没找到类似的问题。

描述

收藏(Collection)的接口聚合,

从:
/v1alpha1/episode/collection

/v1alpha1/subject/collection

更新为
/v1alpha1/collection/subject

/v1alpha1/collection/episode

必要性

收藏接口,和用户强相关,需要将权限给用户,这样聚合比较方便给用户配置权限。

优化

去掉收藏接口的用户ID,直接从SecurityContextHolder获取用户ID

@chivehao chivehao added feature New feature or request area/server Issues or PRs related to the Ikaros Server labels Jul 11, 2024
@chivehao chivehao added this to the 0.13.2 milestone Jul 11, 2024
@chivehao chivehao changed the title [Feature] 收藏的接口聚合 [Feature] 收藏的接口聚合和优化 Jul 11, 2024
@chivehao chivehao linked a pull request Jul 11, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/server Issues or PRs related to the Ikaros Server feature New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant