generated from liutk/owl-admin-base
main
parent
730641a1e5
commit
87866a0153
|
|
@ -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){
|
||||||
|
|
|
||||||
|
|
@ -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 = [
|
||||||
|
|
|
||||||
|
|
@ -150,6 +150,7 @@ return [
|
||||||
'username_already_exists' => '用户名已存在',
|
'username_already_exists' => '用户名已存在',
|
||||||
'cannot_delete' => '不可删除超级管理员',
|
'cannot_delete' => '不可删除超级管理员',
|
||||||
'lock' => '锁定',
|
'lock' => '锁定',
|
||||||
|
'edit_password' => '修改密码'
|
||||||
],
|
],
|
||||||
|
|
||||||
'admin_roles' => '角色',
|
'admin_roles' => '角色',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue