A few days ago I encountered a problem, which is how to query the number of times the interface has been called in PHP. It just simply inserts the number of query calls. My idea is to add a field of the number of impressions to the interface to query directly. I don’t know if there is any. A better way?
The simplest way is to connect to the database, call it once and record it once, and it is easy to check