推广平台->注册明细->bug修复

master
chenxiaojun 5 years ago
parent 27665e5b14
commit 8b2e384fb6

@ -248,9 +248,10 @@ class QueryController extends BaseController
if (!empty($data)) {
foreach ($data as &$list) {
$newLoginData = M('User', 'tab_')
$loginMap['user_id'] = $list['id'];
$newLoginData = M('UserLoginRecord', 'tab_')
->field('login_time,login_ip')
->where(array('user_id' => $list['id']))
->where($loginMap)
->order('login_time desc')
->find();

Loading…
Cancel
Save