pbootcms Give the article a random number of views to the article when publishing it
pbootcms The default article visits start at 0.
Now when you want to change it to add an article, give it a random number of visits.
Modify the file /apps/admin/controller/content/ContentController.php
1. Find the code
session('addscode', $scode);
Add a line of code below
$visits = rand(100,200);
2. Find the code
'visits' => 0,
Modified to
'visits' => $visits,
$visits = rand(100,200);100 and 200 in the case represent random numbers from 100 to 200

The above is shared by Suyou.com with everyone." pbootcms When posting an article, give the article a random reading number of views. Thank you very much for your patience to read this article. We will provide you with more information about reference, use or learning and communication.We can also provide you with:Enterprise website construction, website imitation, website copying, imitation site, foreign trade website construction, foreign trade website construction, company official website productionFor services, our company serves customers with the service concept of "integrity, professionalism, pragmatism and innovation".If you need cooperation, please scan the code to consult, and we will serve you sincerely.
TAG Label: