平台支付总览 ,可以统计所有应用,也可以选择某个应用,然后查看总览,请帮我添加该功能

This commit is contained in:
lu7213 committed 2026-10-18 05:21:01 -04:00
1 parent e987be3a03
commit 7a7222e69c
3 files changed
+50 -29

No files matched your search

@@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestParam;
/** 登录首页支付经营数据。 */
@RestController
@@ -15,7 +16,7 @@ public class PaymentDashboardController {
private PaymentDashboardService dashboardService;
@GetMapping("/overview")
public AjaxResult overview() {
return AjaxResult.success(dashboardService.overview());
public AjaxResult overview(@RequestParam(value = "appId", required = false) Long appId) {
return AjaxResult.success(dashboardService.overview(appId));
}
}