格式化日期

This commit is contained in:
2025-03-19 17:54:44 +08:00
parent a211e86edc
commit c60228d72b
3 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class Follow extends Model
'created_at' => 'timestamp', // 指定序列化格式
];
public static function getFollow($follow,$domain = '')
public static function getFollow($follow,$domain = 'https://vehicle-album.oss-cn-beijing.aliyuncs.com')
{
$follow['type_txt'] = Constants::FOLLOW[$follow['type']];
$follow['oss_picture'] = $domain.'/'.$follow['picture'];