From f4c181608411d60293c836621dc90b9120e3a451 Mon Sep 17 00:00:00 2001
From: JaneYork <janeyork1314@163.com>
Date: 星期五, 22 七月 2022 15:27:00 +0800
Subject: [PATCH] 主动设置文件公共读,适配天翼云OSS 主动设置文件公共读,适配天翼云OSS。 天翼云,即便bucket设置公共读,文件默认也是private,除非手动设置,详见天翼云:https://console.xstore.ctyun.cn/doc/store/sdk/java/objectOperation/putObject.html 已测试: 所有兼容S3协议的OSS,已测试:阿里云、腾讯云、百度、京东、天翼、自建Minio、七牛

---
 ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java
index 4ede9bc..a6dbcbf 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java
@@ -1,6 +1,6 @@
 package com.ruoyi.system.service;
 
-import com.ruoyi.common.core.page.IServicePlus;
+import com.ruoyi.common.core.domain.PageQuery;
 import com.ruoyi.common.core.page.TableDataInfo;
 import com.ruoyi.system.domain.SysNotice;
 
@@ -9,12 +9,12 @@
 /**
  * 鍏憡 鏈嶅姟灞�
  *
- * @author ruoyi
+ * @author Lion Li
  */
-public interface ISysNoticeService extends IServicePlus<SysNotice> {
+public interface ISysNoticeService {
 
 
-    TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice);
+    TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice, PageQuery pageQuery);
 
     /**
      * 鏌ヨ鍏憡淇℃伅
@@ -22,7 +22,7 @@
      * @param noticeId 鍏憡ID
      * @return 鍏憡淇℃伅
      */
-    public SysNotice selectNoticeById(Long noticeId);
+    SysNotice selectNoticeById(Long noticeId);
 
     /**
      * 鏌ヨ鍏憡鍒楄〃
@@ -30,7 +30,7 @@
      * @param notice 鍏憡淇℃伅
      * @return 鍏憡闆嗗悎
      */
-    public List<SysNotice> selectNoticeList(SysNotice notice);
+    List<SysNotice> selectNoticeList(SysNotice notice);
 
     /**
      * 鏂板鍏憡
@@ -38,7 +38,7 @@
      * @param notice 鍏憡淇℃伅
      * @return 缁撴灉
      */
-    public int insertNotice(SysNotice notice);
+    int insertNotice(SysNotice notice);
 
     /**
      * 淇敼鍏憡
@@ -46,7 +46,7 @@
      * @param notice 鍏憡淇℃伅
      * @return 缁撴灉
      */
-    public int updateNotice(SysNotice notice);
+    int updateNotice(SysNotice notice);
 
     /**
      * 鍒犻櫎鍏憡淇℃伅
@@ -54,7 +54,7 @@
      * @param noticeId 鍏憡ID
      * @return 缁撴灉
      */
-    public int deleteNoticeById(Long noticeId);
+    int deleteNoticeById(Long noticeId);
 
     /**
      * 鎵归噺鍒犻櫎鍏憡淇℃伅
@@ -62,5 +62,5 @@
      * @param noticeIds 闇�瑕佸垹闄ょ殑鍏憡ID
      * @return 缁撴灉
      */
-    public int deleteNoticeByIds(Long[] noticeIds);
+    int deleteNoticeByIds(Long[] noticeIds);
 }

--
Gitblit v1.9.3