diff --git a/app/Http/Controllers/API/CampaignAPIController.php b/app/Http/Controllers/API/CampaignAPIController.php index c989bed..49c0e49 100644 --- a/app/Http/Controllers/API/CampaignAPIController.php +++ b/app/Http/Controllers/API/CampaignAPIController.php @@ -92,7 +92,7 @@ public function show($id) { $ret['settings']['inner_image_url'] = cosUrl($campaign->settings['inner_image_url']); $ret['settings']['share_image_url'] = cosUrl($campaign->settings['share_image_url']); if (isset($campaign->settings['sell']['picUrl'])) { - $ret['settings']['sell'] = cosUrl($campaign->settings['sell']); + $ret['settings']['sell']['picUrl'] = cosUrl($campaign->settings['sell']['picUrl']); } $ret['poem_count'] = $campaign->poem_count; $ret['user_count'] = $campaign->user_count;