Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
如下图所示,在/userdetails.php的返回数据中,做种数等相关内容表现为懒加载:
即需要通过额外的
/viewtorrentsdetail.php
查询信息。commit 4d1d4b5 将上述数据的获取放回到了userExtendInfo(
/userdetails.php
)中,无法应对更新后的网站逻辑。这里效仿 commit 103e212 ,将上述信息都放到userUploadedTorrents中查询。
根据 @lingjiameng 提供的示例可知,发种数对应的id为ka、做种数对应的id为ka1。其中,选择器规则需要进行修改,过滤规则无需修改。