日志bug修改
This commit is contained in:
parent
c9d56ba8ff
commit
0d114c4753
@ -115,7 +115,7 @@ class User extends BaseController
|
|||||||
$where[] = ['nickname|content|param_id', 'like', '%' . $param['keywords'] . '%'];
|
$where[] = ['nickname|content|param_id', 'like', '%' . $param['keywords'] . '%'];
|
||||||
}
|
}
|
||||||
if (!empty($param['action'])) {
|
if (!empty($param['action'])) {
|
||||||
$where['title'] = $param['action'];
|
$where[] = ['title','=',$param['action']];
|
||||||
}
|
}
|
||||||
$rows = empty($param['limit']) ? get_config('app . page_size') : $param['limit'];
|
$rows = empty($param['limit']) ? get_config('app . page_size') : $param['limit'];
|
||||||
$content = DB::name('UserLog')
|
$content = DB::name('UserLog')
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
<span>当前版本:<i>v{:CMS_VERSION}</i></span>
|
<span>当前版本:<i>v{:CMS_VERSION}</i></span>
|
||||||
<span><a href="/home/index/logs.html" rel="nofollow" target="_blank">更新日志</a></span>
|
<span><a href="/home/index/logs.html" rel="nofollow" target="_blank">更新日志</a></span>
|
||||||
<span>下载量:<i>{$count}</i></span>
|
<span>下载量:<i>{$count}</i></span>
|
||||||
|
<span><a href="https://www.bt.cn/?invite_code=MV9zbG93ank=" rel="nofollow" target="_blank">推荐使用宝塔面板部署</a></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="cms-other">
|
<div class="cms-other">
|
||||||
<a href="https://github.com/hdm58/gougucms" target="_blank" rel="nofollow" class="site-fork">
|
<a href="https://github.com/hdm58/gougucms" target="_blank" rel="nofollow" class="site-fork">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user