11 changed files with 152 additions and 32 deletions
@ -0,0 +1,23 @@ |
|||
package com.elink.esua.epdc.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
|
|||
/** |
|||
* 获取当天(周几)的-论坛指南信息 返回值 |
|||
* |
|||
* @author zhangyong |
|||
* @since v1.0.0 2020-06-17 |
|||
*/ |
|||
@Data |
|||
public class EpdcPartyGroupGuideResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 党群指南 内容 |
|||
*/ |
|||
private String content; |
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.elink.esua.epdc.controller; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.constant.Constant; |
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import com.elink.esua.epdc.dto.result.EpdcPartyGroupGuideResultDTO; |
|||
import com.elink.esua.epdc.service.PartyGroupGuideService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
/** |
|||
* 党群指南 app接口 |
|||
* |
|||
* @author zhangyong |
|||
* @since v1.0.0 2020-06-16 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(Constant.EPDC_APP + "partygroupguide") |
|||
public class EpdcPartyGroupGuideController { |
|||
|
|||
@Autowired |
|||
private PartyGroupGuideService partyGroupGuideService; |
|||
|
|||
/** |
|||
* 获取当天(周几)的-论坛指南信息 |
|||
* @param partyGroupId 党群ID |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.result.EpdcPartyGroupGuideResultDTO> |
|||
* @Author zhangyong |
|||
* @Date 13:48 2020-06-17 |
|||
**/ |
|||
@GetMapping("group/guideInfo/{partyGroupId}") |
|||
public Result<EpdcPartyGroupGuideResultDTO> guideInfo(@PathVariable("partyGroupId") String partyGroupId){ |
|||
return partyGroupGuideService.getGuideInfo(partyGroupId); |
|||
} |
|||
} |
Loading…
Reference in new issue