|
@ -87,6 +87,13 @@ public class AdminController { |
|
|
return new R<>(R.CODE_SUCCESS, "ok", null); |
|
|
return new R<>(R.CODE_SUCCESS, "ok", null); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/changeAdminHide") |
|
|
|
|
|
@RestApi |
|
|
|
|
|
public R<Void> changeAdminHide(@RequestParam Integer adminId, @RequestParam Integer hide) { |
|
|
|
|
|
adminService.updateAdminHide(adminId, hide); |
|
|
|
|
|
return new R<>(R.CODE_SUCCESS, "ok", null); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@GetMapping("/incomeOverview") |
|
|
@GetMapping("/incomeOverview") |
|
|
@RestApi |
|
|
@RestApi |
|
|
public R<OverviewBo> incomeOverview(@RequestParam(required = false) String appCode) { |
|
|
public R<OverviewBo> incomeOverview(@RequestParam(required = false) String appCode) { |
|
|