lvhao 4 tháng trước cách đây
mục cha
commit
1641f094fc
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      core/CoreApp/core/Lin_Controller.php

+ 3 - 3
core/CoreApp/core/Lin_Controller.php

@@ -50,11 +50,11 @@ abstract class Start_Controller extends Lin_Controller {
 		    $this->zzrecord_logs->insert([
 		            'fpdata'=>json_encode($u)
 		        ]);
-			if(empty($u['id'])){
+			if(!empty($u['id'])){
 				
-				die("no ting do");
+				$this->user->save(['lasttime'=>time()],$u['id']);
 			}
-			$this->user->save(['lasttime'=>time()],$u['id']);
+			
 		}
 		
 		$this->load->library('template');