Skip to content

Commit

Permalink
use custom domain url
Browse files Browse the repository at this point in the history
  • Loading branch information
star8ks committed May 28, 2023
1 parent 573a6b5 commit dea67ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/API/CampaignAPIController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dea67ed

Please sign in to comment.