Commit b06f2c61 authored by zhuwei's avatar zhuwei

bug

parent 51145f14
......@@ -461,6 +461,9 @@ class User extends Basic
$where['id'] = [ 'lt', $params['user_id'] ];
$order = 'id desc';
}
$where['a.site_ids'] = [ 'LIKE', '%' . $this->siteId . '%' ];
$field = 'id,user_nick,agent_id,vip,create_time';
$user = new Users();
$user_res = $user->getLastOrNextUserID($where, $field, $limit = 1, $order, $type);
......@@ -629,7 +632,7 @@ class User extends Basic
}
// dump($where);exit;
$where['a.site_ids'] = [ 'LIKE', '%' . $this->siteId . '%' ];
$where['b.site_ids'] = [ 'LIKE', '%' . $this->siteId . '%' ];
$field = 'a.id,a.user_id,b.user_nick,b.user_nick,b.agent_id,b.vip,b.create_time';
$model = new UPhoneFollowPp($this->siteId);
......
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