Commit ad25aa49f4cab318e7eae32cdcc6c059c1e16c56

Authored by teemitop
1 parent acd4b83d

分页调整

... ... @@ -93,7 +93,7 @@ class System extends Common
a.cdate desc
LIMIT ".$page.",".$limit."");
$total = Db::query("SELECT
count(1) as total
a.id
FROM
`xt-member-two-LINE`.xt_dc_dz_log_action AS a
LEFT JOIN `xt-member-two-LINE`.xt_dc_dz_log_history AS h ON a.id = h.aid
... ... @@ -171,7 +171,7 @@ class System extends Common
$log_info[$key]['new'] = '<a href=/admin/system/differ?id='.$value["id"].' target="_blank"style="color:blue;">查看详情</a>';
}
}
return ['code'=>0,'msg'=>'获取成功!','data'=>$log_info,'count'=>$total[0]['total'],'rel'=>1];
return ['code'=>0,'msg'=>'获取成功!','data'=>$log_info,'count'=>count($total),'rel'=>1];
}
$idn = array();
... ...