Explorar o código

Wesmiler 三勾多商户商城提交

wesmiler %!s(int64=4) %!d(string=hai) anos
pai
achega
7abf1cb4ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/shop/controller/file/Upload.php

+ 1 - 1
app/shop/controller/file/Upload.php

@@ -58,7 +58,7 @@ class Upload extends JjjController
         $model->save([
             'group_id' => $group_id > 0 ? (int)$group_id : 0,
             'storage' => $storage,
-            'file_url' => str_replace(['http:','https'], ['',''], $fileUrl),
+            'file_url' => str_replace(['http:','https:'], ['',''], $fileUrl),
             'file_name' => $fileName,
             'save_name' => $savename,
             'file_size' => $fileInfo->getSize(),