This commit is contained in:
2025-03-17 18:01:53 +08:00
parent e3e9d990bb
commit 43897af989
13 changed files with 210 additions and 59 deletions
+2 -1
View File
@@ -43,9 +43,10 @@ class Follow extends Model
'created_at' => 'timestamp', // 指定序列化格式
];
public static function getFollow($follow)
public static function getFollow($follow,$domain)
{
$follow['type_txt'] = Constants::FOLLOW[$follow['type']];
$follow['oss_picture'] = $domain.'/'.$follow['picture'];
return $follow;
}
}