From 2ae99323cf2af58f040961faad8389cb34b22ee0 Mon Sep 17 00:00:00 2001 From: zhujunjieit Date: Thu, 20 Dec 2018 22:22:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=90=AF=E5=8A=A8=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/service/impl/AliyunOSSClient.java | 16 ++++++++-------- .../templates/course/category/tree.html | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/system/service/impl/AliyunOSSClient.java b/ruoyi-framework/src/main/java/com/ruoyi/system/service/impl/AliyunOSSClient.java index 5783f7231..aeddd8675 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/system/service/impl/AliyunOSSClient.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/system/service/impl/AliyunOSSClient.java @@ -33,14 +33,14 @@ public class AliyunOSSClient implements AliyunOssClientService { @PostConstruct void init() { - System.out.println( "==============" ); - this.endpoint = configService.selectConfigByKey( "ali.oss.endpoint"); - this.accessKeyId = configService.selectConfigByKey("ali.oss.accessKeyId"); - this.accessKeySecret = configService.selectConfigByKey("ali.oss.accessKeySecret"); - this.bucket = configService.selectConfigByKey("ali.oss.bucket"); - if (this.ossClient == null) { - this.ossClient = new OSSClient(this.endpoint, this.accessKeyId, this.accessKeySecret); - } +// System.out.println( "==============" ); +// this.endpoint = configService.selectConfigByKey( "ali.oss.endpoint"); +// this.accessKeyId = configService.selectConfigByKey("ali.oss.accessKeyId"); +// this.accessKeySecret = configService.selectConfigByKey("ali.oss.accessKeySecret"); +// this.bucket = configService.selectConfigByKey("ali.oss.bucket"); +// if (this.ossClient == null) { +// this.ossClient = new OSSClient(this.endpoint, this.accessKeyId, this.accessKeySecret); +// } } /** diff --git a/ruoyi-train/src/main/resources/templates/course/category/tree.html b/ruoyi-train/src/main/resources/templates/course/category/tree.html index a894c909e..ce19a4b62 100644 --- a/ruoyi-train/src/main/resources/templates/course/category/tree.html +++ b/ruoyi-train/src/main/resources/templates/course/category/tree.html @@ -28,7 +28,7 @@ button{font-family: "SimSun","Helvetica Neue",Helvetica,Arial;}