Browse Source

常用菜单 时间字段保存到缓存

ANG YU 5 năm trước cách đây
mục cha
commit
9dbc6076b4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/UserVisitMenuLog.php

+ 1 - 1
app/UserVisitMenuLog.php

@@ -9,6 +9,6 @@ class UserVisitMenuLog extends Model
 {
     use ModelTimeFormat;
     protected $fillable=[
-        'user_id','menu_id',
+        'user_id','menu_id','created_at','updated_at',
     ];
 }