Commit 50813839 authored by hezhen's avatar hezhen

修改倒列

parent fb6b6846
...@@ -54,7 +54,7 @@ LEFT JOIN ims_longbing_company_goods g ON m.good_id=g.id ...@@ -54,7 +54,7 @@ LEFT JOIN ims_longbing_company_goods g ON m.good_id=g.id
WHERE m.isdel=0 and m.user_id=$user_id and m.uniacid=$uniacid "; WHERE m.isdel=0 and m.user_id=$user_id and m.uniacid=$uniacid ";
$lists=pdo_fetchall($sql); $lists=pdo_fetchall($sql);
$count=count($lists); $count=count($lists);
$sql.=" ORDER BY m.cre_time LIMIT $page,$size"; $sql.=" ORDER BY m.cre_time desc LIMIT $page,$size";
$list=pdo_fetchall($sql); $list=pdo_fetchall($sql);
$data = array('page' => $curr, 'total_page' => ceil($count / 10), 'list' => $list,'url'=>$_W['siteroot'] . $_W['config']['upload']['attachdir'] . '/'); $data = array('page' => $curr, 'total_page' => ceil($count / 10), 'list' => $list,'url'=>$_W['siteroot'] . $_W['config']['upload']['attachdir'] . '/');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment