From e1a62ec62e7331d97af9302e90e1ce44af8235eb Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 27 一月 2021 15:26:55 +0800
Subject: [PATCH] 拼多多授权绑定

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java
index b525e19..796b56b 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java
@@ -2,10 +2,13 @@
 
 import java.util.List;
 
+import com.yeshi.fanli.entity.SystemEnum;
 import org.springframework.web.multipart.MultipartFile;
 
+import com.yeshi.fanli.entity.bus.homemodule.CommonShareInfo;
 import com.yeshi.fanli.entity.bus.homemodule.SwiperPicture;
 import com.yeshi.fanli.exception.banner.SwiperPictureException;
+import com.yeshi.fanli.vo.homemodule.BannerVO;
 
 public interface SwiperPictureService {
 
@@ -85,7 +88,7 @@
 	 *            鍞竴鏍囪瘑
 	 * @return
 	 */
-	public List<SwiperPicture> getByBannerCard(String card);
+	public List<BannerVO> getByBannerCard(String card, SystemEnum system);
 
 	/**
 	 * 鏍规嵁鏍囪瘑涓庣増鏈煡璇�
@@ -95,7 +98,7 @@
 	 * @param version
 	 * @return
 	 */
-	public List<SwiperPicture> getByBannerCardAndVersion(String card, String platform, int version);
+	public List<BannerVO> getByBannerCardAndVersion(String card, String platform, int version,SystemEnum system);
 
 	/**
 	 * 淇濆瓨淇℃伅
@@ -103,7 +106,7 @@
 	 * @param record
 	 * @throws SwiperPictureException
 	 */
-	public void saveObject(MultipartFile file, SwiperPicture record, String jumpType)
+	public void saveObject(MultipartFile file, SwiperPicture record, String jumpType, CommonShareInfo shareInfo)
 			throws SwiperPictureException, Exception;
 
 	/**
@@ -113,7 +116,7 @@
 	 * @return
 	 * @throws SwiperPictureException
 	 */
-	public List<SwiperPicture> getByBannerId(Long bannerId) throws SwiperPictureException;
+	public List<BannerVO> getByBannerId(Long bannerId,SystemEnum system) throws SwiperPictureException;
 	
 	
 	/**
@@ -124,7 +127,7 @@
 	 * @return
 	 * @throws SwiperPictureException
 	 */
-	public List<SwiperPicture> getByBannerId(Long bannerId,String platform,int version) throws SwiperPictureException;
+	public List<BannerVO> getByBannerId(Long bannerId,String platform,int version,SystemEnum system) throws SwiperPictureException;
 	
 
 	/**
@@ -136,4 +139,12 @@
 	 */
 	public void setVersions(Long id, List<Long> versions) throws SwiperPictureException;
 
+	
+	/**
+	 * 鐘舵�佸垏鎹�
+	 * @param id
+	 * @throws SwiperPictureException
+	 */
+	public void switchState(Long id) throws SwiperPictureException;
+
 }

--
Gitblit v1.8.0