正在显示
1 个修改的文件
包含
2 行增加
和
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); |
-
请 注册 或 登录 后发表评论