作者 耿培杰

修改接口

... ... @@ -178,7 +178,7 @@ class GroupGoods extends Api
$newList = [];
for ($i=0;$i<$team['group_num'];$i++){
if (!empty($list[$i])) $newList[$i] = $list[$i];
else $newList[$i]['user_avatar'] = '../1.jpg'; //默认头像
else $newList[$i]['user_avatar'] = cdnurl(config('site.team_default_avatar')) ; //默认头像
}
$data['total'] = $team['group_num'];
$data['grouptime'] = $team['grouptime'];
... ...
... ... @@ -51,4 +51,5 @@ return array (
'en_withdraw_deposit_text' => '<p>会员特权英文</p>',
'en_distribution_text' => '<p>会员特权英文</p>',
'index_recommend_image' => '/uploads/20200526/a677bd6b92fca41ed1a5be015a14f8a0.png',
'team_default_avatar' => '/uploads/20200527/636e5950d0b0b8c257c5afb560bd8417.png',
);
\ No newline at end of file
... ...