浏览代码

fix:解决可以访问本地电脑资源问题

caozixuan 2 年之前
父节点
当前提交
2a95565b9c

+ 0 - 2
teachcloud-report/src/main/resources/application-demo-2.1.properties

@@ -43,7 +43,6 @@ sys.config.oss=true
 sys.config.attachmentType=.xlsx,.xls,.doc,.docx,.pdf,.jpg,.jpeg,.png,.html,.zip,.mp3,.wav,.dll,.exe,.ftl
 sys.config.attachmentLength=100
 sys.config.attachmentSize=200
-sys.config.serverUpload=
 sys.config.fileHost=192.168.10.136:8005
 sys.config.serverHost=192.168.10.136:8005
 #sys.config.accessKey=274f823e5f59410f8b3bb6edcd8e2b6e
@@ -60,7 +59,6 @@ sys.config.analyzeThreadPoolCoreSize=false
 sys.config.sessionActive=1h
 sys.config.reportUrl=http://192.168.10.136:7005/#/student-report/
 sys.config.loginAuthenUrl=http://192.168.10.136:7005/#/login-authen/
-spring.resources.static-locations=file:${sys.config.serverUpload},classpath:/META-INF/resources/,classpath:/resources/
 
 org.center.url=https://solar.qmth.com.cn
 org.center.orgQueryApi=/api/open/org/query

+ 0 - 2
teachcloud-report/src/main/resources/application-demo.properties

@@ -43,7 +43,6 @@ sys.config.oss=true
 sys.config.attachmentType=.xlsx,.xls,.doc,.docx,.pdf,.jpg,.jpeg,.png,.html,.zip,.mp3,.wav,.dll,.exe,.ftl
 sys.config.attachmentLength=100
 sys.config.attachmentSize=200
-sys.config.serverUpload=
 sys.config.fileHost=192.168.10.136:8005
 sys.config.serverHost=192.168.10.136:8005
 #sys.config.accessKey=274f823e5f59410f8b3bb6edcd8e2b6e
@@ -60,7 +59,6 @@ sys.config.analyzeThreadPoolCoreSize=false
 sys.config.sessionActive=1h
 sys.config.reportUrl=http://192.168.10.136:7005/#/student-report/
 sys.config.loginAuthenUrl=http://192.168.10.136:7005/#/login-authen/
-spring.resources.static-locations=file:${sys.config.serverUpload},classpath:/META-INF/resources/,classpath:/resources/
 
 org.center.url=https://solar.qmth.com.cn
 org.center.orgQueryApi=/api/open/org/query

+ 0 - 2
teachcloud-report/src/main/resources/application-dev.properties

@@ -46,7 +46,6 @@ sys.config.oss=false
 sys.config.attachmentType=.xlsx,.xls,.doc,.docx,.pdf,.jpg,.jpeg,.png,.html,.zip,.mp3,.wav,.dll,.exe,.ftl
 sys.config.attachmentLength=100
 sys.config.attachmentSize=200
-sys.config.serverUpload=
 sys.config.fileHost=localhost:7004
 sys.config.serverHost=localhost:7004
 #sys.config.accessKey=0bce69d94a7b4aef8bc0badf150351a9
@@ -62,7 +61,6 @@ sys.config.customThreadPoolCoreSize=true
 sys.config.sessionActive=1h
 sys.config.reportUrl=http://localhost:9099/#/student-report/
 sys.config.loginAuthenUrl=http://localhost:9099/#/login-authen/
-spring.resources.static-locations=file:${sys.config.serverUpload},classpath:/META-INF/resources/,classpath:/resources/
 
 org.center.url=https://solar.qmth.com.cn
 org.center.orgQueryApi=/api/open/org/query

+ 0 - 2
teachcloud-report/src/main/resources/application-release.properties

@@ -43,7 +43,6 @@ sys.config.oss=true
 sys.config.attachmentType=.xlsx,.xls,.doc,.docx,.pdf,.jpg,.jpeg,.png,.html,.zip,.mp3,.wav,.dll,.exe,.ftl
 sys.config.attachmentLength=100
 sys.config.attachmentSize=200
-sys.config.serverUpload=
 sys.config.fileHost=localhost:8877
 sys.config.serverHost=localhost:8877
 sys.config.accessKey=
@@ -59,7 +58,6 @@ sys.config.customThreadPoolCoreSize=true
 sys.config.sessionActive=1h
 sys.config.reportUrl=https://wdfx.qmth.com.cn/#/student-report/
 sys.config.loginAuthenUrl=https://wdfx.qmth.com.cn/#/login-authen/
-spring.resources.static-locations=file:${sys.config.serverUpload},classpath:/META-INF/resources/,classpath:/resources/
 
 org.center.url=https://solar.qmth.com.cn
 org.center.orgQueryApi=/api/open/org/query

+ 0 - 2
teachcloud-report/src/main/resources/application-sdsf.properties

@@ -43,7 +43,6 @@ sys.config.oss=true
 sys.config.attachmentType=.xlsx,.xls,.doc,.docx,.pdf,.jpg,.jpeg,.png,.html,.zip,.mp3,.wav,.dll,.exe,.ftl
 sys.config.attachmentLength=100
 sys.config.attachmentSize=200
-sys.config.serverUpload=
 sys.config.fileHost=192.168.10.136:8005
 sys.config.serverHost=192.168.10.136:8005
 #sys.config.accessKey=274f823e5f59410f8b3bb6edcd8e2b6e
@@ -59,7 +58,6 @@ sys.config.customThreadPoolCoreSize=true
 sys.config.sessionActive=1h
 sys.config.reportUrl=http://192.168.10.136:7005/#/student-report/
 sys.config.loginAuthenUrl=http://192.168.10.136:7005/#/login-authen/
-spring.resources.static-locations=file:${sys.config.serverUpload},classpath:/META-INF/resources/,classpath:/resources/
 
 org.center.url=https://solar.qmth.com.cn
 org.center.orgQueryApi=/api/open/org/query

+ 0 - 2
teachcloud-report/src/main/resources/application-test-2.1.properties

@@ -43,7 +43,6 @@ sys.config.oss=true
 sys.config.attachmentType=.xlsx,.xls,.doc,.docx,.pdf,.jpg,.jpeg,.png,.html,.zip,.mp3,.wav,.dll,.exe,.ftl
 sys.config.attachmentLength=100
 sys.config.attachmentSize=200
-sys.config.serverUpload=
 sys.config.fileHost=192.168.10.136:8005
 sys.config.serverHost=192.168.10.136:8005
 #sys.config.accessKey=274f823e5f59410f8b3bb6edcd8e2b6e
@@ -60,7 +59,6 @@ sys.config.analyzeThreadPoolCoreSize=false
 sys.config.sessionActive=1h
 sys.config.reportUrl=http://192.168.10.136:7005/#/student-report/
 sys.config.loginAuthenUrl=http://192.168.10.136:7005/#/login-authen/
-spring.resources.static-locations=file:${sys.config.serverUpload},classpath:/META-INF/resources/,classpath:/resources/
 
 org.center.url=https://solar.qmth.com.cn
 org.center.orgQueryApi=/api/open/org/query

+ 0 - 2
teachcloud-report/src/main/resources/application-test.properties

@@ -43,7 +43,6 @@ sys.config.oss=true
 sys.config.attachmentType=.xlsx,.xls,.doc,.docx,.pdf,.jpg,.jpeg,.png,.html,.zip,.mp3,.wav,.dll,.exe,.ftl
 sys.config.attachmentLength=100
 sys.config.attachmentSize=200
-sys.config.serverUpload=
 sys.config.fileHost=192.168.10.136:8005
 sys.config.serverHost=192.168.10.136:8005
 #sys.config.accessKey=274f823e5f59410f8b3bb6edcd8e2b6e
@@ -59,7 +58,6 @@ sys.config.customThreadPoolCoreSize=true
 sys.config.sessionActive=1h
 sys.config.reportUrl=http://192.168.10.136:7005/#/student-report/
 sys.config.loginAuthenUrl=http://192.168.10.136:7005/#/login-authen/
-spring.resources.static-locations=file:${sys.config.serverUpload},classpath:/META-INF/resources/,classpath:/resources/
 
 org.center.url=https://solar.qmth.com.cn
 org.center.orgQueryApi=/api/open/org/query