日志bug修改

This commit is contained in:
hdm 2022-03-28 15:47:39 +08:00
parent c9d56ba8ff
commit 0d114c4753
2 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class User extends BaseController
$where[] = ['nickname|content|param_id', 'like', '%' . $param['keywords'] . '%'];
}
if (!empty($param['action'])) {
$where['title'] = $param['action'];
$where[] = ['title','=',$param['action']];
}
$rows = empty($param['limit']) ? get_config('app . page_size') : $param['limit'];
$content = DB::name('UserLog')

View File

@ -20,6 +20,7 @@
<span>当前版本:<i>v{:CMS_VERSION}</i></span>
<span><a href="/home/index/logs.html" rel="nofollow" target="_blank">更新日志</a></span>
<span>下载量:<i>{$count}</i></span>
<span><a href="https://www.bt.cn/?invite_code=MV9zbG93ank=" rel="nofollow" target="_blank">推荐使用宝塔面板部署</a></span>
</div>
<div class="cms-other">
<a href="https://github.com/hdm58/gougucms" target="_blank" rel="nofollow" class="site-fork">