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

@ -116,7 +116,6 @@ 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();
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