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