This week, I'm still working on the project. The main thing to write is to like, collect and so on. But when traversing the data, I suddenly found a point, which I didn't know before.
It is the original traversal data, I always traverse it directly, just like the number 0 returned if the post is pending review, I use the if statement outside to change it. I really didn't know before that I could use functions to change it directly while traversing the data. Hey, happy. This week is mainly about writing collections and paying attention to this category, but I do encounter some problems. It’s like looking for a problem today. I haven’t been able to find it all the time. The output results on the page are consistent, and finally I found that the output of node is wrong. I really didn't expect that the problem can really be anywhere.