首页优化

This commit is contained in:
lu7213 committed 2026-10-17 22:22:05 -04:00
1 parent c58e55a2e1
commit 705609282f
3 files changed
+134

No files matched your search

@@ -0,0 +1,21 @@
package com.ruoyi.system.controller;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.PaymentDashboardService;
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;
/** 登录首页支付经营数据。 */
@RestController
@RequestMapping("/system/dashboard")
public class PaymentDashboardController {
@Autowired
private PaymentDashboardService dashboardService;
@GetMapping("/overview")
public AjaxResult overview() {
return AjaxResult.success(dashboardService.overview());
}
}