|
|
@@ -65,7 +65,9 @@ class GroupActivityLogic extends BaseLogic
|
|
|
->select()
|
|
|
->toArray();
|
|
|
foreach($detail['users'] as &$item){
|
|
|
- $item['avatar'] = config('custom.cdn_url').$item['avatar'];
|
|
|
+ if (strpos($item['avatar'], 'http') === false && !empty($item['avatar'])) {
|
|
|
+ $item['avatar'] = config('custom.cdn_url').$item['avatar'];
|
|
|
+ }
|
|
|
}
|
|
|
//如果开启了模拟成团,成团后,自动填补剩余人数
|
|
|
if ($detail['status'] == 1 && $detail['num'] < $detail['activity']['participant_num']) {
|