|
|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.elink.esua.epdc.feign; |
|
|
|
|
|
|
|
import com.elink.esua.epdc.common.token.dto.TokenDto; |
|
|
|
import com.elink.esua.epdc.commons.tools.constant.ServiceConstant; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
|
import com.elink.esua.epdc.dto.epdc.form.*; |
|
|
|
@ -25,7 +26,7 @@ public interface NewsFeignClient { |
|
|
|
* 获取通知列表 |
|
|
|
* |
|
|
|
* @param formDto |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcNoticeListResultDTO>> |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcNoticeListResultDTO>> |
|
|
|
* @author yujintao |
|
|
|
* @date 2019/9/5 20:07 |
|
|
|
*/ |
|
|
|
@ -60,7 +61,7 @@ public interface NewsFeignClient { |
|
|
|
* @Author qushutong |
|
|
|
* @Date 2019/9/9 9:17 |
|
|
|
* @Param [formDto] |
|
|
|
* @Return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcNewsListResultDTO>> |
|
|
|
* @Return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcNewsListResultDTO>> |
|
|
|
* @Exception |
|
|
|
* |
|
|
|
*/ |
|
|
|
@ -71,7 +72,7 @@ public interface NewsFeignClient { |
|
|
|
* @Description 获取详情 |
|
|
|
* @Author qushutong |
|
|
|
* @Date 2019/9/9 10:20 |
|
|
|
* @Param [id] |
|
|
|
* @Param id |
|
|
|
* @Return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.epdc.result.EpdcNewsDetailResultDTO> |
|
|
|
* @Exception |
|
|
|
* |
|
|
|
@ -129,10 +130,20 @@ public interface NewsFeignClient { |
|
|
|
* 移动端用户消息列表 |
|
|
|
* |
|
|
|
* @param formDto |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcInformationListResultDTO>> |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcInformationListResultDTO>> |
|
|
|
* @author yujintao |
|
|
|
* @date 2019/9/10 17:09 |
|
|
|
*/ |
|
|
|
@GetMapping(value = "news/epdc-app/information/listByUserId", consumes = MediaType.APPLICATION_JSON_VALUE) |
|
|
|
Result<List<EpdcInformationListResultDTO>> listInformationByUserId(EpdcInformationListFormDTO formDto); |
|
|
|
|
|
|
|
/*** |
|
|
|
* 移动端banner列表 |
|
|
|
* @param deptId |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcBannerListResultDTO>> |
|
|
|
* @author qushutong |
|
|
|
* @date 2019/9/11 9:25 |
|
|
|
*/ |
|
|
|
@GetMapping(value = "news/epdc-app/news/list/{deptId}", consumes = MediaType.APPLICATION_JSON_VALUE) |
|
|
|
Result<List<EpdcBannerListResultDTO>> listBanner(@PathVariable("deptId") Long deptId); |
|
|
|
} |
|
|
|
|