-
Notifications
You must be signed in to change notification settings - Fork 72
feat: add API for PersonCollect #561
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
Conversation
fe41ca9 to
a6db777
Compare
|
看样子是OK了 |
75b9dc2 to
41cb287
Compare
41cb287 to
09fb430
Compare
dc7eede to
f57df13
Compare
f57df13 to
e05ede6
Compare
e05ede6 to
c0cc25b
Compare
web/routes.go
Outdated
| v0.GET("/characters/:id/subjects", characterHandler.GetRelatedSubjects) | ||
| v0.GET("/characters/:id/persons", characterHandler.GetRelatedPersons) | ||
| v0.POST("/characters/:id/collect", characterHandler.CollectCharacter, mw.NeedLogin) | ||
| v0.DELETE("/characters/:id/collect", characterHandler.UncollectCharacter, mw.NeedLogin) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
跟条目收藏的URL风格不太统一啊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因为条目收藏的 URL 里没有 subjects 字样,不太好加别的,只能跟 index 收藏的 URL 风格统一了 TAT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这么一说确实。。。。。
|
需要哪几个表的权限 |
|
应该只需要 |
|
增删改吗 |
|
只有增删查,这个表应该没有改的操作 |
2e4d456 to
4a3ffee
Compare
4a3ffee to
a6a23ac
Compare
|
要不先把删的API屏蔽掉吧,后面改好了再启用。先把增和改的上线 |
|
这种没有改操作的也要软删除吗 TAT |
|
|
测试挂了 |
No description provided.