[ad_1]
Hi,
Please follow the instructions on the solution on this post:
Adding “search” in the settings will make it work.
Please let me know if you solved it.
Thanks
I added ‘search’ to make the code work,
but I found that if the result is empty, it will be recorded multiple times. If there is data in the result, it will only be recorded once
e.g.
‘cat’ have 1 post in JSON,Search statistics occur once, and subsequent requests of the same type will no longer be recorded
‘bibibi’ have no post in JSON,Search statistics will always be recorded
I hope to receive your help
thanks
Oh my god, it turned out that it was because I used caching technology on Restapi, and I have already solved this problem. Thank you for your reply
- This reply was modified 1 minute ago by 小鱼哥.
