-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
老哥,点击文章作者这块有没有想改一改的想法? #61
Comments
改啥? |
🤔就是把根据作者昵称查询的文章和用户ID分享的文章都放里面啊👀 |
不改了,等鸿洋大佬改吧 |
我刚才发现这个文章作者请求的两个接口,是看从文章传递过去的是作者还是分享人,有作者就没分享人,author字符串不为空,userid是-1,没有作者的话就是分享的,author是空字符串,userid的值不是-1,我用传递的userid是否为-1来判断请求哪个接口了,没问题,也可以判断author是否为空字符串,就是这俩接口的分页初始值不一样,有一个从0开始,另一个从1开始🤔 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hongyangAndroid/wanandroid#293
The text was updated successfully, but these errors were encountered: