Merge branch 'feature/REQ-1465' of axzsource.com:universal/infrastructure/backend/msg-center-plat into dev
This commit is contained in:
commit
ecb47dacb9
@ -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));
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
/**
|
||||
|
||||
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user