We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
user/topiclist
嗨,
我想读取其他用户最近发表和最近回复的帖子,读到用户&uid=118774的时候,如果是读取他的最近发表(&type=topic),会返回500或者502;如果读取他的最近回复(&type=reply),返回的数据中有一条如下,
&uid=118774
&type=topic
&type=reply
我用河畔iOS通用版看了下,点其他用户头像只会读取他的最近发表,但对于118774这个用户还是什么也读不出来。
118774
网页版则他的最近发表和最近回复都能读出来,而且最近回复中把上面图中的那条脏数据过滤掉了。
所以我有两个问题:
let validList = list.filter(item => item.board_id !== 0 && item.board_name !== "" && item.last_reply_date !== "000" && item.user_id !== 0 && item.user_nick_name !== "" )
是否只判断其中某个条件就可以了?主要担心有些数据可能不满足上面代码某一条判断,而被误过滤了。
谢谢。
The text was updated successfully, but these errors were encountered:
More details
http://bbs.uestc.edu.cn/forum.php?mod=viewthread&tid=1675973
Sorry, something went wrong.
Resolved.
No branches or pull requests
嗨,
我想读取其他用户最近发表和最近回复的帖子,读到用户
&uid=118774
的时候,如果是读取他的最近发表(&type=topic
),会返回500或者502;如果读取他的最近回复(&type=reply
),返回的数据中有一条如下,我用河畔iOS通用版看了下,点其他用户头像只会读取他的最近发表,但对于
118774
这个用户还是什么也读不出来。网页版则他的最近发表和最近回复都能读出来,而且最近回复中把上面图中的那条脏数据过滤掉了。
所以我有两个问题:
118774
的最近发表,能否看到为何报错?是否只判断其中某个条件就可以了?主要担心有些数据可能不满足上面代码某一条判断,而被误过滤了。
谢谢。
The text was updated successfully, but these errors were encountered: