11
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user