|
@ -3,10 +3,7 @@ package com.elink.esua.epdc.service; |
|
|
import com.elink.esua.epdc.common.token.dto.TokenDto; |
|
|
import com.elink.esua.epdc.common.token.dto.TokenDto; |
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
import com.elink.esua.epdc.dto.form.*; |
|
|
import com.elink.esua.epdc.dto.form.*; |
|
|
import com.elink.esua.epdc.dto.result.PartyGroupOfficialsResultDTO; |
|
|
import com.elink.esua.epdc.dto.result.*; |
|
|
import com.elink.esua.epdc.dto.result.PartyGroupResultDTO; |
|
|
|
|
|
import com.elink.esua.epdc.dto.result.PartyTopicResultDTO; |
|
|
|
|
|
import com.elink.esua.epdc.dto.result.PartyUserGroupResultDTO; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
|
|
|
|
|
@ -18,7 +15,7 @@ import java.util.List; |
|
|
|
|
|
|
|
|
public interface PartyGroupService { |
|
|
public interface PartyGroupService { |
|
|
/** |
|
|
/** |
|
|
* @Description 党群列表接口 |
|
|
* @Description 党群列表接口 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [] |
|
|
* @Param [] |
|
@ -26,7 +23,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result<List<PartyGroupResultDTO>> groupList(TokenDto userDetail); |
|
|
Result<List<PartyGroupResultDTO>> groupList(TokenDto userDetail); |
|
|
/** |
|
|
/** |
|
|
* @Description 网格长列表 |
|
|
* @Description 网格长列表 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [userDetail, formDTO] |
|
|
* @Param [userDetail, formDTO] |
|
@ -34,7 +31,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result<List<PartyGroupOfficialsResultDTO>> officialsList(TokenDto userDetail, PartyGroupOfficialsFormDTO formDTO); |
|
|
Result<List<PartyGroupOfficialsResultDTO>> officialsList(TokenDto userDetail, PartyGroupOfficialsFormDTO formDTO); |
|
|
/** |
|
|
/** |
|
|
* @Description 评论 |
|
|
* @Description 评论 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
@ -42,7 +39,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result commentSubmit(TokenDto userDetail, PartyTopicCommentFormDTO formDto); |
|
|
Result commentSubmit(TokenDto userDetail, PartyTopicCommentFormDTO formDto); |
|
|
/** |
|
|
/** |
|
|
* @Description 话题列表 |
|
|
* @Description 话题列表 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
@ -50,7 +47,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result<PartyTopicResultDTO> topicList(TokenDto userDetail, PartyTopicFormDTO formDto); |
|
|
Result<PartyTopicResultDTO> topicList(TokenDto userDetail, PartyTopicFormDTO formDto); |
|
|
/** |
|
|
/** |
|
|
* @Description 发布话题 |
|
|
* @Description 发布话题 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
@ -58,7 +55,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result topicSubmit(TokenDto userDetail, PartyTopicSubmitFormDTO formDto); |
|
|
Result topicSubmit(TokenDto userDetail, PartyTopicSubmitFormDTO formDto); |
|
|
/** |
|
|
/** |
|
|
* @Description 话题(赞/踩)接口 |
|
|
* @Description 话题(赞/踩)接口 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
@ -66,7 +63,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result topicStatement(TokenDto userDetail, TopicStatementFormDTO formDto); |
|
|
Result topicStatement(TokenDto userDetail, TopicStatementFormDTO formDto); |
|
|
/** |
|
|
/** |
|
|
* @Description 群成员列表 |
|
|
* @Description 群成员列表 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
@ -74,7 +71,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result<PartyUserGroupResultDTO> userList(TokenDto userDetail, PartyUserGroupFormDTO formDto); |
|
|
Result<PartyUserGroupResultDTO> userList(TokenDto userDetail, PartyUserGroupFormDTO formDto); |
|
|
/** |
|
|
/** |
|
|
* @Description 当前用户在群里的信息 |
|
|
* @Description 当前用户在群里的信息 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
@ -82,7 +79,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result<PartyUserGroupResultDTO> currentUserInfo(String partyGroupId); |
|
|
Result<PartyUserGroupResultDTO> currentUserInfo(String partyGroupId); |
|
|
/** |
|
|
/** |
|
|
* @Description 禁言 |
|
|
* @Description 禁言 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
@ -90,7 +87,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result banned( PartyUserBannedFormDTO formDto); |
|
|
Result banned( PartyUserBannedFormDTO formDto); |
|
|
/** |
|
|
/** |
|
|
* @Description 身份认证 |
|
|
* @Description 身份认证 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/3 |
|
|
* @Date 2020/6/3 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
@ -98,7 +95,7 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result modifyIdentity(PartyUserIdentityFormDTO formDto); |
|
|
Result modifyIdentity(PartyUserIdentityFormDTO formDto); |
|
|
/** |
|
|
/** |
|
|
* @Description 加入党群 |
|
|
* @Description 加入党群 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/4 |
|
|
* @Date 2020/6/4 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
@ -106,11 +103,20 @@ public interface PartyGroupService { |
|
|
**/ |
|
|
**/ |
|
|
Result joinGroup(TokenDto userDetail, PartyUserJoinGroupFormDTO formDto); |
|
|
Result joinGroup(TokenDto userDetail, PartyUserJoinGroupFormDTO formDto); |
|
|
/** |
|
|
/** |
|
|
* @Description 我的话题列表 |
|
|
* @Description 我的话题列表 |
|
|
* @Author songyunpeng |
|
|
* @Author songyunpeng |
|
|
* @Date 2020/6/11 |
|
|
* @Date 2020/6/11 |
|
|
* @Param [userDetail, formDto] |
|
|
* @Param [userDetail, formDto] |
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.result.PartyTopicResultDTO> |
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.result.PartyTopicResultDTO> |
|
|
**/ |
|
|
**/ |
|
|
Result<PartyTopicResultDTO> myTopicList(TokenDto userDetail, MyPartyTopicFormDTO formDto); |
|
|
Result<PartyTopicResultDTO> myTopicList(TokenDto userDetail, MyPartyTopicFormDTO formDto); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 获取论坛指南信息 |
|
|
|
|
|
* @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 |
|
|
|
|
|
**/ |
|
|
|
|
|
Result<EpdcPartyGroupGuideResultDTO> getGuideInfo(String partyGroupId); |
|
|
} |
|
|
} |
|
|