kevin_zhangl 3 лет назад
Родитель
Сommit
64e1c66d00

+ 1 - 1
common/helpers/Excel.php

@@ -808,7 +808,7 @@ class Excel extends BaseObject {
         $fileNameArray = ExcelImport::find()->select('U.FILE_NAME')->from(ExcelImport::tableName() . ' AS ET')->join('LEFT JOIN', Uploads::tableName() . ' AS U', 'ET.UPLOAD_ID=U.ID')->where('ET.ID=:ID', [':ID' => $excelImportId])->asArray()->one();
 //        $filePath = \Yii::getAlias('@common/runtime/uploads/' . $fileNameArray['FILE_NAME']);
 //        $filePath =  \Yii::$app->localUpload . $fileNameArray['FILE_NAME'];
-        $filePath = '/ng922/Volumes/HDD/workshop/old/ar.upload.ming/files/' . $fileNameArray['FILE_NAME'];
+        $filePath = '/ng-stage/Volumes/HDD/workshop/old/ar.upload.ming/files/' . $fileNameArray['FILE_NAME'];
         if ($startRow > $rowCount) {
             return 0;
         }

+ 1 - 1
common/models/forms/UploadForm.php

@@ -183,7 +183,7 @@ class UploadForm extends Model {
                 $fileName = $this->file->baseName;
                 // 保存在本地
 //                $filePath =  \Yii::$app->localUpload . $fileNameArray['FILE_NAME'];
-                $localPath = '/ng922/Volumes/HDD/workshop/old/ar.upload.ming/files/' . $fileName . '.' . $this->file->extension;
+                $localPath = '/ng-stage/Volumes/HDD/workshop/old/ar.upload.ming/files/' . $fileName . '.' . $this->file->extension;
                 if (!$this->file->saveAs($localPath)) {
                     throw new Exception('Failed');
                 }

+ 1 - 1
frontendEle/src/views/layout/layout.vue

@@ -179,7 +179,7 @@ export default {
       tool: tool,
       siteTitle: '',
       whetherBA: baseInfo.whetherBA(),
-      visitWebsite: 'http://16.163.228.151:8021',
+      visitWebsite: 'http://16.163.228.151:8037',
     }
   },
   computed: {