Commit d4e1dd2d authored by zfc's avatar zfc Committed by hujun

pc端客户列表修改

parent 504da59d
...@@ -52,6 +52,7 @@ class Users extends Model ...@@ -52,6 +52,7 @@ class Users extends Model
* @throws \think\db\exception\ModelNotFoundException * @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException * @throws \think\exception\DbException
*/ */
public function getUserAgent($pageNo = 1, $pageSize = 15, $order_ = 'a.id desc', $fields = '*', $params = '') { public function getUserAgent($pageNo = 1, $pageSize = 15, $order_ = 'a.id desc', $fields = '*', $params = '') {
$data = array(); $data = array();
...@@ -77,6 +78,7 @@ class Users extends Model ...@@ -77,6 +78,7 @@ class Users extends Model
} }
$agents = new Agents(); $agents = new Agents();
foreach ($result as $k=>$v) { foreach ($result as $k=>$v) {
$data[$k] = $v->getData(); $data[$k] = $v->getData();
......
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