|
|
@ -523,7 +523,7 @@ class SafeController extends BaseController{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$page = intval(I('get.p', 1));
|
|
|
|
$page = intval(I('get.p', 1));
|
|
|
|
$page = $page ? $page : 1; //默认显示第一页数据arraypage
|
|
|
|
$page = $page ? $page : 1; //默认显示第一页数据arraypage
|
|
|
|
$rs = M('promote_action_logs','tab_')->where($map)->order('create_time')
|
|
|
|
$rs = M('promote_action_logs','tab_')->where($map)->order('create_time DESC')
|
|
|
|
->page($page, $row)->select();
|
|
|
|
->page($page, $row)->select();
|
|
|
|
foreach($rs as $key => $v) {
|
|
|
|
foreach($rs as $key => $v) {
|
|
|
|
$rs[$key]['create_time'] = date('Y-m-d H:i:s',$v['create_time']);
|
|
|
|
$rs[$key]['create_time'] = date('Y-m-d H:i:s',$v['create_time']);
|
|
|
|