ソースを参照

已经把上传路径加上https

JXDS18FUJT 2 年 前
コミット
c22725deea

+ 1 - 1
src/views/price/controller/index.vue

@@ -51,7 +51,7 @@
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/stage-api/controller/info/import"
+          action="https://xxgl.zzxcx.net/stage-api/controller/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/engine/index.vue

@@ -239,7 +239,7 @@ emissionStandard">
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/stage-api/engine/info/import"
+          action="https://xxgl.zzxcx.net/stage-api/engine/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/gallery/index.vue

@@ -5,7 +5,7 @@
             <el-col :span="1.5">
                 <el-upload :show-file-list="false" class="upload-demo" with-credentials :headers="{
                     'Authorization': 'Bearer ' + token
-                }" action="http://xxgl.zzxcx.net/stage-api/file/info" :data="{
+                }" action="https://xxgl.zzxcx.net/stage-api/file/info" :data="{
     id: priceId,
     type: type
 

+ 1 - 1
src/views/price/generator/hz50/index.vue

@@ -168,7 +168,7 @@
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/stage-api/fdj50/info/import"
+          action="https://xxgl.zzxcx.net/stage-api/fdj50/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/generator/hz60/index.vue

@@ -168,7 +168,7 @@
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/stage-api/fdj60/info/import"
+          action="https://xxgl.zzxcx.net/stage-api/fdj60/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/manage/hz50/index.vue

@@ -184,7 +184,7 @@
             :headers="{
               Authorization: 'Bearer ' + token,
             }"
-            action="http://xxgl.zzxcx.net/stage-api/price/info/import"
+            action="https://xxgl.zzxcx.net/stage-api/price/info/import"
             :on-success="handleSuccess"
             multiple
             accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/manage/hz60/index.vue

@@ -184,7 +184,7 @@
             :headers="{
               Authorization: 'Bearer ' + token,
             }"
-            action="http://xxgl.zzxcx.net/stage-api/price/info/import"
+            action="https://xxgl.zzxcx.net/stage-api/price/info/import"
             :on-success="handleSuccess"
             multiple
             accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/manage/index.vue

@@ -184,7 +184,7 @@
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/stage-api/price/info/import"
+          action="https://xxgl.zzxcx.net/stage-api/price/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"