@ -54,9 +54,9 @@ public class MessageCenterController {
*获取最近一年的统计数据
*/
@GetMapping(value = "/getOneYearData")
public ActionResult getOneYearData() throws Exception {
public Map getOneYearData() throws Exception {
Map oneYearData= messageCenterService.getOneYearData();
return ActionResult.success(oneYearData);
return oneYearData;
}
/**
*获取最近七天的销售量