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

master
chenxiaojun 5 years ago
commit 032e5de877

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

Loading…
Cancel
Save