moonsflyer 4 месяцев назад
Родитель
Сommit
aeb0d0ab5e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      phalapi/src/app/Model/Shop.php

+ 2 - 2
phalapi/src/app/Model/Shop.php

@@ -116,8 +116,8 @@ class Shop extends NotORM {
             return $res;
         }
 
-        unset($info['name'],$info['thumb'],$info['des'],$info['license']);
-
+        unset($info['des'],$info['license']);
+        $info['thumb']=\App\get_upload_path($info['thumb']); //营业执照
         $info['certificate_format']=\App\get_upload_path($info['certificate']); //营业执照
         $info['other_format']=\App\get_upload_path($info['other']); //其他证件