|
|
@ -11,7 +11,9 @@ import com.elink.esua.epdc.dto.comment.TopicCommentStatementFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.comment.TopicCommentsFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.comment.result.EventCommentsResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.enums.TopicStateEnum; |
|
|
|
import com.elink.esua.epdc.dto.epdc.form.EpdcNewsListByCategoryFromDTO; |
|
|
|
import com.elink.esua.epdc.dto.epdc.form.EpdcUserGroupInviteFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.epdc.result.EpdcNewsListResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.epdc.result.EpdcUserGroupInviteResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.group.form.*; |
|
|
|
import com.elink.esua.epdc.dto.group.result.*; |
|
|
@ -26,6 +28,7 @@ import com.elink.esua.epdc.dto.topic.form.*; |
|
|
|
import com.elink.esua.epdc.dto.topic.result.TopicDetailResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.topic.result.TopicListResultDTO; |
|
|
|
import com.elink.esua.epdc.feign.AdminFeignClient; |
|
|
|
import com.elink.esua.epdc.feign.NewsFeignClient; |
|
|
|
import com.elink.esua.epdc.feign.PropertyFeignClient; |
|
|
|
import com.elink.esua.epdc.service.PropertyService; |
|
|
|
import com.elink.esua.epdc.utils.UserTagUtils; |
|
|
@ -52,6 +55,9 @@ public class PropertyServiceImpl implements PropertyService { |
|
|
|
@Autowired |
|
|
|
private WxMaSecCheckTask wxMaSecCheckTask; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private NewsFeignClient newsFeignClient; |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<GroupDetailForMobileEndResultDTO> getGroupDetail(TokenDto userDetail, String id) { |
|
|
|
if (null == userDetail) { |
|
|
@ -302,4 +308,10 @@ public class PropertyServiceImpl implements PropertyService { |
|
|
|
formDto.setGridId(userDetail.getGridId()); |
|
|
|
return propertyFeignClient.getDeptPolice(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<List<EpdcNewsListResultDTO>> listNewsByCategory(TokenDto userDetail, EpdcNewsListByCategoryFromDTO formDto) { |
|
|
|
formDto.setDeptId(userDetail.getGridId()); |
|
|
|
return newsFeignClient.listNewsByCategory(formDto); |
|
|
|
} |
|
|
|
} |
|
|
|