hrjy 2 anni fa
parent
commit
40002cc4c2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/admin/controller/system/SystemStore.php

+ 1 - 1
app/admin/controller/system/SystemStore.php

@@ -186,7 +186,7 @@ class SystemStore extends AuthController
         $data = SystemStoreModel::where('id', $id)->find();
         $f = [];
         if ($data['slider_image'] and $data['gatehead']){
-            $f[] = Form::frameImages('gatehead', '门头图(640*640px)', Url::buildUrl('admin/widget.images/index', array('fodder' => 'gatehead')), json_decode($data->getData('slider_image'), 1))->maxLength(5)->icon('images')->width('100%')->height('500px');
+            $f[] = Form::frameImages('gatehead', '门头图(640*640px)', Url::buildUrl('admin/widget.images/index', array('fodder' => 'gatehead')), json_decode($data->getData('gatehead'), 1))->maxLength(5)->icon('images')->width('100%')->height('500px');
             $f[] = Form::frameImages('slider_image', '店内图片(640*640px)', Url::buildUrl('admin/widget.images/index', array('fodder' => 'slider_image')), json_decode($data->getData('slider_image'), 1))->maxLength(5)->icon('images')->width('100%')->height('500px');
         }else{
             $f[] = Form::frameImages('gatehead', '门头图(640*640px)', Url::buildUrl('admin/widget.images/index', array('fodder' => 'gatehead')))->maxLength(5)->icon('images')->width('100%')->height('500px');