forked from zongzibinbin/MallChat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request zongzibinbin#151 from Kkuil/main
feat: 新增撤销管理员与退群功能
- Loading branch information
Showing
22 changed files
with
365 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/chat/domain/vo/request/AdminAddReq.java → .../domain/vo/request/admin/AdminAddReq.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...r/src/main/java/com/abin/mallchat/common/chat/domain/vo/request/admin/AdminRevokeReq.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.abin.mallchat.common.chat.domain.vo.request.admin; | ||
|
||
import io.swagger.annotations.ApiModelProperty; | ||
import lombok.Data; | ||
|
||
import javax.validation.constraints.NotNull; | ||
import javax.validation.constraints.Size; | ||
import java.util.List; | ||
|
||
/** | ||
* @Author Kkuil | ||
* @Date 2023/10/24 12:46 | ||
* @Description 撤销管理员请求信息 | ||
*/ | ||
@Data | ||
public class AdminRevokeReq { | ||
@NotNull | ||
@ApiModelProperty("房间号") | ||
private Long roomId; | ||
|
||
@NotNull | ||
@Size(min = 1, max = 3) | ||
@ApiModelProperty("需要撤销管理的列表") | ||
private List<Long> uidList; | ||
} |
2 changes: 1 addition & 1 deletion
2
.../chat/domain/vo/request/MemberAddReq.java → ...omain/vo/request/member/MemberAddReq.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../chat/domain/vo/request/MemberDelReq.java → ...omain/vo/request/member/MemberDelReq.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...r/src/main/java/com/abin/mallchat/common/chat/domain/vo/request/member/MemberExitReq.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.abin.mallchat.common.chat.domain.vo.request.member; | ||
|
||
import io.swagger.annotations.ApiModelProperty; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import javax.validation.constraints.NotNull; | ||
|
||
/** | ||
* @Author Kkuil | ||
* @Date 2023/10/30 11:49 | ||
* @Description 退出群聊 | ||
*/ | ||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class MemberExitReq { | ||
@NotNull | ||
@ApiModelProperty("会话id") | ||
private Long roomId; | ||
} |
2 changes: 1 addition & 1 deletion
2
...mon/chat/domain/vo/request/MemberReq.java → ...t/domain/vo/request/member/MemberReq.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
mallchat-chat-server/src/main/java/com/abin/mallchat/common/chat/service/RoomAppService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.