You've already forked FrameTour-BE
fix(message): 将消息相关接口的日志级别从 info 调整为 debug
- 修改消息列表查询接口的日志级别- 修改获取消息通道列表接口的日志级别- 统一调整日志输出方式以减少生产环境日志量
This commit is contained in:
@@ -32,7 +32,7 @@ public class MessageController {
|
|||||||
@RequestParam(required = false) String createdAtStart,
|
@RequestParam(required = false) String createdAtStart,
|
||||||
@RequestParam(required = false) String createdAtEnd
|
@RequestParam(required = false) String createdAtEnd
|
||||||
) {
|
) {
|
||||||
log.info("PC|消息列表查询 page={}, pageSize={}, channelId={}, title={}, sendBiz={}", page, pageSize, channelId, title, sendBiz);
|
log.debug("PC|消息列表查询 page={}, pageSize={}, channelId={}, title={}, sendBiz={}", page, pageSize, channelId, title, sendBiz);
|
||||||
if (pageSize > 100) {
|
if (pageSize > 100) {
|
||||||
pageSize = 100;
|
pageSize = 100;
|
||||||
}
|
}
|
||||||
@@ -48,7 +48,7 @@ public class MessageController {
|
|||||||
|
|
||||||
@GetMapping("/channels")
|
@GetMapping("/channels")
|
||||||
public ApiResponse<ChannelsResponse> listChannels() {
|
public ApiResponse<ChannelsResponse> listChannels() {
|
||||||
log.info("PC|获取消息通道列表");
|
log.debug("PC|获取消息通道列表");
|
||||||
try {
|
try {
|
||||||
ChannelsResponse data = messageService.listChannels();
|
ChannelsResponse data = messageService.listChannels();
|
||||||
return ApiResponse.success(data);
|
return ApiResponse.success(data);
|
||||||
|
Reference in New Issue
Block a user