作者 景龙
1 个管道 的构建 通过 耗费 0 秒

调试微信登录

@@ -413,6 +413,7 @@ class LoginController extends HomeBaseController @@ -413,6 +413,7 @@ class LoginController extends HomeBaseController
413 $users['source'] = '微信'; 413 $users['source'] = '微信';
414 $users['user_type'] = 2; 414 $users['user_type'] = 2;
415 $users['create_time'] = time(); 415 $users['create_time'] = time();
  416 + $users['last_login_time'] = time();
416 $userModel->create($users); 417 $userModel->create($users);
417 } 418 }
418 $userInfo = $this->findThird($where); 419 $userInfo = $this->findThird($where);
@@ -466,6 +467,7 @@ class LoginController extends HomeBaseController @@ -466,6 +467,7 @@ class LoginController extends HomeBaseController
466 $users['source'] = '微博'; 467 $users['source'] = '微博';
467 $users['user_type'] = 2; 468 $users['user_type'] = 2;
468 $users['create_time'] = time(); 469 $users['create_time'] = time();
  470 + $users['last_login_time'] = time();
469 $userModel->create($users); 471 $userModel->create($users);
470 } 472 }
471 $userInfo = $this->findThird($where); 473 $userInfo = $this->findThird($where);