diff --git a/app/model/Follow.php b/app/model/Follow.php index 93a8c7a..f0cb9ae 100644 --- a/app/model/Follow.php +++ b/app/model/Follow.php @@ -52,7 +52,7 @@ class Follow extends Model { $follow['type_txt'] = Constants::FOLLOW[$follow['type']]; $follow['firstFollowtime'] = $follow['follow_time']; - if (isset($follow['follow_time']) && !empty($follow['follow_time'])) { + if (isset($follow['picture']) && !empty($follow['picture'])) { $ossservice = new OssService(); $oss_picture = $ossservice->generatePrivateUrl($follow['picture'],86400); $follow['oss_picture'] = $oss_picture;