You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							14 lines
						
					
					
						
							323 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							14 lines
						
					
					
						
							323 B
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								namespace App\Models;
							 | 
						|
								use Illuminate\Database\Eloquent\Model;
							 | 
						|
								
							 | 
						|
								class BaseModel extends Model
							 | 
						|
								{
							 | 
						|
									protected $dateFormat = 'U';
							 | 
						|
								    # 使用空方法覆盖,不转换时间戳
							 | 
						|
								    public function getUpdatedAtColumn() { }
							 | 
						|
								
							 | 
						|
								    # 使用空方法覆盖,不转换时间戳
							 | 
						|
								    public function getCreatedAtColumn() { }
							 | 
						|
								}
							 |