main
liutk 2024-06-05 14:31:13 +08:00
parent 730641a1e5
commit 87866a0153
3 changed files with 4 additions and 3 deletions

View File

@ -15,8 +15,8 @@ class Activity extends Model
]; ];
protected $casts = [ protected $casts = [
'start_at' => 'datetime:Y-m-d H:i:s', 'start_at' => 'datetime:Y-m-d H:i:s',
'end_at' => 'datetime:Y-m-d H:i:s' 'end_at' => 'datetime:Y-m-d H:i:s'
]; ];
public function scopeShow($q){ public function scopeShow($q){

View File

@ -11,7 +11,7 @@ class ActivityGame extends Model
use HasFactory,Filterable; use HasFactory,Filterable;
protected $casts = [ protected $casts = [
'game_at' => 'datetime' 'game_at' => 'datetime:Y-m-d H:i:s'
]; ];
protected $fillable = [ protected $fillable = [

View File

@ -150,6 +150,7 @@ return [
'username_already_exists' => '用户名已存在', 'username_already_exists' => '用户名已存在',
'cannot_delete' => '不可删除超级管理员', 'cannot_delete' => '不可删除超级管理员',
'lock' => '锁定', 'lock' => '锁定',
'edit_password' => '修改密码'
], ],
'admin_roles' => '角色', 'admin_roles' => '角色',