moonsflyer 4 ay önce
ebeveyn
işleme
4072ed3d2f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      phalapi/src/app/functions.php

+ 1 - 1
phalapi/src/app/functions.php

@@ -4439,7 +4439,7 @@ namespace App;
 //
 //            $v['addtime'] = date('Y-m-d H:i:s',$shop_info['addtime']);
 //
-//            $v['image'] = get_upload_path($v['image']);
+            $shop_info['thumb'] =  $shop_info['thumb']??get_upload_path( $shop_info['thumb']['thumb']);
             $shop_list[]=$shop_info;
         }
         return $shop_list;