mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update BasePostageTemplate.php
This commit is contained in:
parent
511df78a13
commit
b5ef8f6f6f
@ -11,5 +11,13 @@ use think\admin\Model;
|
|||||||
*/
|
*/
|
||||||
class BasePostageTemplate extends Model
|
class BasePostageTemplate 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