配置列表排序处理

This commit is contained in:
evoxwht 2023-06-29 09:22:40 +08:00
parent bbc60bcfd3
commit 3ab4ee9287

View File

@ -84,7 +84,7 @@ class SystemConfigDao extends BaseDao
{
$where['tab_id'] = $tabId;
if ($status == 1) $where['status'] = $status;
return $this->search($where)->order('sort desc,id DESC')->select()->toArray();
return $this->search($where)->order('sort desc,id ASC')->select()->toArray();
}
/**