|
@@ -85,6 +85,13 @@ public class MessageController {
|
|
|
return HttpResult.ok();
|
|
return HttpResult.ok();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @desc: 消息统计查询
|
|
|
|
|
+ * @author: yzc
|
|
|
|
|
+ * @date: 2023-06-14 10:54
|
|
|
|
|
+ * @param category
|
|
|
|
|
+ * @return com.sckw.core.web.response.HttpResult
|
|
|
|
|
+ */
|
|
|
@GetMapping(value = "/statistics")
|
|
@GetMapping(value = "/statistics")
|
|
|
public HttpResult statistics(@RequestParam(required = false) String category) {
|
|
public HttpResult statistics(@RequestParam(required = false) String category) {
|
|
|
List<MessagesStatisticsResVO> result = messageService.statistics(category);
|
|
List<MessagesStatisticsResVO> result = messageService.statistics(category);
|