提交 1bdd800f 编写于 作者: D devil_gong

admin field未使用处理

上级 dd24ed12
......@@ -39,7 +39,7 @@ class AdminService
$n = isset($params['n']) ? intval($params['n']) : 10;
// 获取管理员列表
$data = Db::name('Admin')->where($where)->order($order_by)->limit($m, $n)->select();
$data = Db::name('Admin')->where($where)->field($field)->order($order_by)->limit($m, $n)->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.
先完成此消息的编辑!
想要评论请 注册