提交 bb78ef49 编写于 作者: D Devil

细节优化

上级 6d789258
......@@ -36,7 +36,7 @@ class AdminPowerService
$order_by = empty($params['order_by']) ? 'id desc' : trim($params['order_by']);
// 获取权限菜单列表
$data = Db::name('Power')->where($where)->order($order_by)->select();
$data = Db::name('Power')->field($field)->where($where)->order($order_by)->select();
if(!empty($data))
{
foreach($data as &$v)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册