|
|
|
@ -115,10 +115,17 @@ class Store extends Controller |
|
|
|
|
{ |
|
|
|
|
$storeid = request()->header()['storeid']; |
|
|
|
|
$info = StoreInfoModel::where('store_id', $storeid)->find()->toArray(); |
|
|
|
|
$file = UploadFile::where('file_id', '=', $info['group_share_img_id'])->find(); |
|
|
|
|
$info['group_share_img'] = $file->preview_url; |
|
|
|
|
$file = UploadFile::where('file_id', '=', $info['logo_image_id'])->find(); |
|
|
|
|
$info['logo_image'] = $file->preview_url; |
|
|
|
|
$info['group_share_img'] = ""; |
|
|
|
|
if ($info['group_share_img_id']) { |
|
|
|
|
$file = UploadFile::where('file_id', '=', $info['group_share_img_id'])->find(); |
|
|
|
|
$info['group_share_img'] = $file->preview_url; |
|
|
|
|
} |
|
|
|
|
$info['logo_image'] = ""; |
|
|
|
|
if ($info['logo_image_id']) { |
|
|
|
|
$file = UploadFile::where('file_id', '=', $info['logo_image_id'])->find(); |
|
|
|
|
$info['logo_image'] = $file->preview_url; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return $this->renderSuccess($info); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|