s1eepycat пре 3 година
родитељ
комит
edcf132226

+ 1 - 1
src/main/resources/application-alpha.properties

@@ -12,7 +12,7 @@ spring.redis.database=0
 ####################### uploader config ###############################
 uploader.max-size=20480000
 uploader.file-host=http://47.114.32.188:9800/src
-uploader.allow-file-types=jpg,jpeg,png,gif,mp4,mp3,xls,xlsx,pdf
+uploader.allow-file-types=jpg,jpeg,png,gif,mp4,mp3,xls,xlsx,pdf,doc
 uploader.save-path=/data/uploads
 ####################### spider config ###############################
 spider.phantomjs_executable_path_property=/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs

+ 1 - 1
src/main/resources/application-prod.properties

@@ -12,7 +12,7 @@ spring.redis.database=1
 ####################### uploader config ###############################
 uploader.max-size=20480000
 uploader.file-host=https://dbadmin.zhlc.liucheng.gov.cn/src
-uploader.allow-file-types=jpg,jpeg,png,gif,mp4,mp3,xls,xlsx,pdf
+uploader.allow-file-types=jpg,jpeg,png,gif,mp4,mp3,xls,xlsx,pdf,doc
 uploader.save-path=/data/data-center/uploads
 ####################### spider config ###############################
 spider.phantomjs_executable_path_property=/data/data-center/phantomjs-2.1.1/bin/phantomjs

+ 1 - 1
src/main/resources/application.properties

@@ -39,7 +39,7 @@ spring.oap.security.service-access-controller-class=com.zhiqiyun.open.router.con
 ####################### uploader config ###############################
 uploader.max-size=20480000
 uploader.file-host=http://127.0.0.1:9800/src
-uploader.allow-file-types=jpg,jpeg,png,gif
+uploader.allow-file-types=jpg,jpeg,png,gif,mp4,mp3,xls,xlsx,pdf,doc
 uploader.save-path=/tmp/uploads
 
 ####################### spider config ###############################