|
|
@ -2,13 +2,16 @@ package com.elink.esua.epdc.modules.news.feign; |
|
|
|
|
|
|
|
import com.elink.esua.epdc.commons.tools.constant.ServiceConstant; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.elink.esua.epdc.dto.ModuleListFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.epdc.form.*; |
|
|
|
import com.elink.esua.epdc.dto.epdc.result.*; |
|
|
|
import com.elink.esua.epdc.modules.news.feign.callback.NewsFeignClientFallback; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.http.MediaType; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
@ -199,4 +202,14 @@ public interface NewsFeignClient { |
|
|
|
@GetMapping(value ="news/epdc-app/notice/contentDetail/{id}", consumes = MediaType.APPLICATION_JSON_VALUE) |
|
|
|
Result<EpdcContentDetailResultDTO> getContentDetailById(@PathVariable("id") String id); |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 获取栏目列表 |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/9/13 17:03 |
|
|
|
* @params [dto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@GetMapping(value ="news/moduletype/getModuleList", consumes = MediaType.APPLICATION_JSON_VALUE) |
|
|
|
Result getModuleList(ModuleListFormDTO dto); |
|
|
|
|
|
|
|
} |
|
|
|