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

[API] 登录用户查看主题回复时,无法知道哪些是自己已点赞的回复 #464

Closed
lanceli opened this issue Dec 8, 2014 · 1 comment

Comments

@lanceli
Copy link
Contributor

lanceli commented Dec 8, 2014

登录用户查看主题回复时,无法知道哪些是自己已点赞的回复。

get /topic/:id返回ups里面是user的_id

ups: [
"5459ba84188f34f52b342f85"
],

post /accesstokenget /user/:loginname都无法得到登录用户的_id

方案1:
ups返回loginname

方案2:
post /accesstoken返回_id

@alsotang
Copy link
Member

alsotang commented Dec 8, 2014

采用了方案2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants