找到对应模块总函数文件,这里以资讯模块为例
找到文件 module/article/article.class.php
搜索找到
- $post = $this->set($post);
在下面加一行代码:
- $post['hits'] = mt_rand(50,200);
意思为随机50-200之间,去发布一条测试吧。
找到对应模块总函数文件,这里以资讯模块为例
找到文件 module/article/article.class.php
搜索找到
- $post = $this->set($post);
在下面加一行代码:
- $post['hits'] = mt_rand(50,200);
意思为随机50-200之间,去发布一条测试吧。
0评论2023-10-08
0评论2023-10-08
0评论2023-10-08
0评论2023-10-08181
0评论2023-10-08
0评论2023-10-08185
0评论2023-10-08
0评论2023-10-08
0评论2023-10-08151
0评论2023-10-08145