消费详情接口
This commit is contained in:
@@ -55,4 +55,9 @@ public class ConsumerController {
|
||||
public Object getConsumerMembers(@RequestParam String groupId) {
|
||||
return consumerService.getConsumerMembers(groupId);
|
||||
}
|
||||
|
||||
@GetMapping("/detail")
|
||||
public Object getConsumerDetail(@RequestParam String groupId) {
|
||||
return consumerService.getConsumerDetail(groupId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,4 +18,6 @@ public interface ConsumerService {
|
||||
ResponseData deleteConsumerGroup(String groupId);
|
||||
|
||||
ResponseData getConsumerMembers(String groupId);
|
||||
|
||||
ResponseData getConsumerDetail(String groupId);
|
||||
}
|
||||
|
||||
@@ -78,4 +78,8 @@ public class ConsumerServiceImpl implements ConsumerService {
|
||||
vos.sort(Comparator.comparing(ConsumerMemberVO::getClientId));
|
||||
return ResponseData.create().data(vos).success();
|
||||
}
|
||||
|
||||
@Override public ResponseData getConsumerDetail(String groupId) {
|
||||
return ResponseData.create().data(consumerConsole.getConsumerDetail(Collections.singleton(groupId))).success();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user