File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed
src/main/java/com/netease/nim/im/server/sdk/v1 Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 33import com .netease .nim .im .server .sdk .core .YunxinApiHttpClient ;
44import com .netease .nim .im .server .sdk .v1 .account .AccountV1Service ;
55import com .netease .nim .im .server .sdk .v1 .account .IAccountV1Service ;
6+ import com .netease .nim .im .server .sdk .v1 .chatroom .ChatRoomV1Service ;
7+ import com .netease .nim .im .server .sdk .v1 .chatroom .IChatRoomV1Service ;
8+ import com .netease .nim .im .server .sdk .v1 .team .ITeamV1Service ;
9+ import com .netease .nim .im .server .sdk .v1 .team .TeamV1Service ;
610
711/**
812 * Created by caojiajun on 2024/12/11
@@ -11,11 +15,25 @@ public class YunxinV1ApiServices {
1115
1216 private final IAccountV1Service accountService ;
1317
18+ private final ITeamV1Service teamService ;
19+
20+ private final IChatRoomV1Service chatRoomService ;
21+
1422 public YunxinV1ApiServices (YunxinApiHttpClient yunxinApiHttpClient ) {
1523 this .accountService = new AccountV1Service (yunxinApiHttpClient );
24+ this .teamService = new TeamV1Service (yunxinApiHttpClient );
25+ this .chatRoomService = new ChatRoomV1Service (yunxinApiHttpClient );
1626 }
1727
1828 public IAccountV1Service getAccountService () {
1929 return accountService ;
2030 }
31+
32+ public ITeamV1Service getTeamService () {
33+ return teamService ;
34+ }
35+
36+ public IChatRoomV1Service getChatRoomService () {
37+ return chatRoomService ;
38+ }
2139}
Original file line number Diff line number Diff line change 1+ package com .netease .nim .im .server .sdk .v1 .chatroom ;
2+
3+ import com .netease .nim .im .server .sdk .core .YunxinApiHttpClient ;
4+
5+ /**
6+ * Created by caojiajun on 2024/12/11
7+ */
8+ public class ChatRoomV1Service implements IChatRoomV1Service {
9+
10+ private final YunxinApiHttpClient httpClient ;
11+
12+ public ChatRoomV1Service (YunxinApiHttpClient httpClient ) {
13+ this .httpClient = httpClient ;
14+ }
15+ }
Original file line number Diff line number Diff line change 1+ package com .netease .nim .im .server .sdk .v1 .chatroom ;
2+
3+ /**
4+ * Created by caojiajun on 2024/12/11
5+ */
6+ public interface IChatRoomV1Service {
7+
8+ }
You can’t perform that action at this time.
0 commit comments