wangliang 5 жил өмнө
parent
commit
f70a567225

+ 15 - 2
stmms-ms-main/src/main/resources/application-dev.properties

@@ -66,7 +66,7 @@ sys.config.compression.percent=60
 sys.config.imageServer.port=9000
 sys.config.imageServer.ip=localhost
 sys.config.imageServer.aliyunOss=true
-sys.config.imageServer.dir=ms
+sys.config.imageServer.dir=ms_test
 
 #打分阶段配置是否启用(为false则不启用打分阶段分档)
 score.level.enable=false
@@ -90,4 +90,17 @@ spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/reso
 app.snapshot.initsql=/Users/yuanpan/dumps/stmms-ms-2-init.sql
 app.snapshot.fdsql=/Users/yuanpan/dumps/stmms-ms-2-fendang.sql
 app.snapshot.dfsql=/Users/yuanpan/dumps/stmms-ms-2-dafen.sql
-app.snapshot.fpsql=/Users/yuanpan/dumps/stmms-ms-2-fuping.sql
+app.snapshot.fpsql=/Users/yuanpan/dumps/stmms-ms-2-fuping.sql
+
+#阿里云OSS配置
+aliyun.oss.endpointInner=http://oss-cn-beijing-internal.aliyuncs.com
+aliyun.oss.endpoint=http://oss-cn-beijing.aliyuncs.com
+aliyun.oss.accessKeyId=LTAIhiBoG7CsLnoy
+aliyun.oss.accessKeySecret=HqTvxO1RYiPT3SiZKv4VeoXab4AHjz
+aliyun.oss.bucket=epcc-test
+aliyun.oss.url=http://${aliyun.oss.bucket}.oss-cn-beijing.aliyuncs.com
+aliyun.oss.imageDir=oss://${aliyun.oss.bucket}/${sys.config.imageServer.dir}/images/ -u
+aliyun.oss.thumbDir=oss://${aliyun.oss.bucket}/${sys.config.imageServer.dir}/thumbs/ -u
+aliyun.oss.sheetDir=oss://${aliyun.oss.bucket}/${sys.config.imageServer.dir}/sheet/ -u
+aliyun.oss.watermark=oss://${aliyun.oss.bucket}/${sys.config.imageServer.dir}/watermark/ -u
+aliyun.oss.util=/Users/king/ossutilmac64 cp -r