##The picture above is my code... access the url interface connection of a website in tp.... When this connection is opened in the browser, the data is different every time it is refreshed... But in tp, it is the same data every time it is refreshed. It is the new data that is refreshed every other time... It should be tp Caching problem... I'm new to TP writing projects... I don't know how to solve it... I'm here to ask for help... (I tried adding a random number parameter after the link...(&t=rand (1,999999) It doesn’t work if you want tp to think that you are visiting a different link every time...),
This is a help post from tp’s official website: http://www.thinkphp.cn/topic /52220.html
Personally I think it’s a problem with the time set by your curlopt_timeout parameter
You have 30 lines of code. Please uncheck it and try.