moonsflyer 4 сар өмнө
parent
commit
aeb0d0ab5e

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

@@ -116,8 +116,8 @@ class Shop extends NotORM {
             return $res;
             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['certificate_format']=\App\get_upload_path($info['certificate']); //营业执照
         $info['other_format']=\App\get_upload_path($info['other']); //其他证件
         $info['other_format']=\App\get_upload_path($info['other']); //其他证件