Merge branch 'feature/REQ-1465' of axzsource.com:universal/infrastructure/backend/msg-center-plat into dev

This commit is contained in:
luofu 2023-10-24 16:09:08 +08:00
commit ecb47dacb9
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ public class GeneralMessageController implements GeneralMessageClient {
}
@Override
public CommonResponse<GeneralMessageOldDataStatisticResponse> pageQueryOldMessage(
public CommonResponse<GeneralMessageOldDataStatisticResponse> statisticOldData(
GeneralMessageOldDataStatisticRequest request) {
return CommonResponse.success(generalMessageService.statisticOldData(request));
}

View File

@ -44,7 +44,7 @@ public interface GeneralMessageClient {
* @return 消息未读数&最新一条消息内容
*/
@PostMapping(value = "/general-message/old-data/statistic", produces = {MediaType.APPLICATION_JSON_VALUE})
CommonResponse<GeneralMessageOldDataStatisticResponse> pageQueryOldMessage(
CommonResponse<GeneralMessageOldDataStatisticResponse> statisticOldData(
@RequestBody @Valid GeneralMessageOldDataStatisticRequest request);
/**

View File

@ -27,7 +27,7 @@ public class GeneralMessageClientFallback implements GeneralMessageClient {
}
@Override
public CommonResponse<GeneralMessageOldDataStatisticResponse> pageQueryOldMessage(
public CommonResponse<GeneralMessageOldDataStatisticResponse> statisticOldData(
GeneralMessageOldDataStatisticRequest request) {
log.error("fall back while statistic old message. req:{}", request);
return CommonResponse.error("fall back while statistic old message");