mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update DataNewsMark.php
This commit is contained in:
parent
dcd92ea511
commit
77c1bd7b85
@ -5,11 +5,18 @@ namespace app\data\model;
|
||||
use think\admin\Model;
|
||||
|
||||
/**
|
||||
*
|
||||
* Class DataNewsMark
|
||||
* @package app\data\model
|
||||
*/
|
||||
class DataNewsMark 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