首页优化
This commit is contained in:
1 parent
c58e55a2e1
commit
705609282f
3 files changed
+134
No files matched your search
+21
@@ -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());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user