es
yangsai@163.com 7 months ago
parent 015901e446
commit 2d68587d71
  1. 2
      app/api/controller/Store.php

@ -116,7 +116,7 @@ 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'])->find(); $file = UploadFile::where('file_id', '=', $info['group_share_img_id'])->find();
print_r($file);die; var_dump($file);die;
$info['group_share_img'] = $file->preview_url; $info['group_share_img'] = $file->preview_url;
$file = UploadFile::where('file_id', '=', $info['logo_image_id'])->find(); $file = UploadFile::where('file_id', '=', $info['logo_image_id'])->find();
$info['logo_image'] = $file->preview_url; $info['logo_image'] = $file->preview_url;

Loading…
Cancel
Save