|
|
@ -23,7 +23,7 @@ class IndexController extends AdminController {
|
|
|
|
public function index()
|
|
|
|
public function index()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(session('user_auth.uid')){
|
|
|
|
if(session('user_auth.uid')){
|
|
|
|
$data=M('Member')
|
|
|
|
$data=SM('Member')
|
|
|
|
->field('uid,nickname,username,us.last_login_time,us.last_login_ip,login')
|
|
|
|
->field('uid,nickname,username,us.last_login_time,us.last_login_ip,login')
|
|
|
|
->join('sys_ucenter_member as us on sys_member.uid = us.id')
|
|
|
|
->join('sys_ucenter_member as us on sys_member.uid = us.id')
|
|
|
|
->where(array('uid'=>session('user_auth.uid')))
|
|
|
|
->where(array('uid'=>session('user_auth.uid')))
|
|
|
|