1
This commit is contained in:
@@ -39,6 +39,8 @@ class Follow extends Model
|
|||||||
public $timestamps = true;
|
public $timestamps = true;
|
||||||
|
|
||||||
protected $dates = ['created_at', 'updated_at', 'follow_time'];
|
protected $dates = ['created_at', 'updated_at', 'follow_time'];
|
||||||
|
|
||||||
|
protected $timezone = 'Asia/Shanghai';
|
||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'updated_at' => 'datetime:Y-m-d H:i:s', // 指定序列化格式
|
'updated_at' => 'datetime:Y-m-d H:i:s', // 指定序列化格式
|
||||||
|
|||||||
Reference in New Issue
Block a user