mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-22 14:59:14 +08:00
Update DataUser.php
This commit is contained in:
parent
430ac9d6db
commit
a70457b996
@ -11,5 +11,13 @@ use think\admin\Model;
|
||||
*/
|
||||
class DataUser extends Model
|
||||
{
|
||||
|
||||
/**
|
||||
* 格式化创建时间
|
||||
* @param string $value
|
||||
* @return string
|
||||
*/
|
||||
public function getCreateAtAttr(string $value): string
|
||||
{
|
||||
return format_datetime($value);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user