dever 6 rokov pred
rodič
commit
53fe8ac99f
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      journal/lib/Manage.php

+ 1 - 0
journal/lib/Manage.php

@@ -422,6 +422,7 @@ class Manage
         $file = Dever::param('file', $param);
         if ($file) {
             $file = str_replace('wonderful', 'upload', Dever::local($file));
+            $file = str_replace('https://api.huoxingkandiqiu.com/', '/www/', $file);
             //$file = '/www/upload/data/upload/4/2019/04/11/f730437f0b5764790baed3c96c5264b2.xlsx';
             $data = Dever::excelImport($file);
             if ($data) {