From b5ead35c1d955f2a0e2e10da79254860d0ba95e9 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 23 五月 2025 14:50:27 +0800 Subject: [PATCH] 大屏接口bug修改 --- ruoyi-api/ruoyi-api-admin/src/main/java/com/ruoyi/admin/api/factory/AdminFallbackFactory.java | 31 ++++++++++++++++++++++++++++--- 1 files changed, 28 insertions(+), 3 deletions(-) diff --git a/ruoyi-api/ruoyi-api-admin/src/main/java/com/ruoyi/admin/api/factory/AdminFallbackFactory.java b/ruoyi-api/ruoyi-api-admin/src/main/java/com/ruoyi/admin/api/factory/AdminFallbackFactory.java index e5693ea..81afdc9 100644 --- a/ruoyi-api/ruoyi-api-admin/src/main/java/com/ruoyi/admin/api/factory/AdminFallbackFactory.java +++ b/ruoyi-api/ruoyi-api-admin/src/main/java/com/ruoyi/admin/api/factory/AdminFallbackFactory.java @@ -28,13 +28,23 @@ } @Override - public R<Boolean> changeDispatchSave(ExchangeDispatch changeDispatch) { - return R.fail(Boolean.FALSE); + public R<Agreement> operate() { + return R.fail(cause.getMessage()); + } + + @Override + public R<Agreement> agreementPolicy(Integer type) { + return R.fail(cause.getMessage()); } @Override public R<List<Notices>> noticesList() { return R.fail("获取通知公告列表失败" + cause.getMessage()); + } + + @Override + public R<Notices> noticesDetail(Integer id) { + return R.fail(cause.getMessage()); } @Override @@ -53,8 +63,13 @@ } @Override - public R<List<Prize>> prizeList() { + public R<List<Prize>> prizeList(Integer serveId) { return R.fail("获取奖品列表失败" + cause.getMessage()); + } + + @Override + public R<Prize> prizeDetail(String id) { + return R.fail("获取奖品详情失败" + cause.getMessage()); } @Override @@ -62,6 +77,16 @@ return R.fail("获取系统审核设置失败" + cause.getMessage()); } + @Override + public R<List<String>> cityDetail(Integer id) { + return R.fail(cause.getMessage()); + } + + @Override + public R<String> getWorkPic(Integer id) { + return R.fail(cause.getMessage()); + } + }; } } -- Gitblit v1.7.1