From ecf2d4d66fb191c9945f7baa6dafef168decd1fd Mon Sep 17 00:00:00 2001 From: Diyu0904 <1819728964@qq.com> Date: Sat, 8 Mar 2025 18:45:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E7=B1=BB=E5=9E=8B/=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/communityCenter/PlaFormController.java | 2 +- .../main/java/com/mcwl/resource/mapper/PlatFormMapper.java | 2 +- .../java/com/mcwl/resource/service/PlatFormService.java | 2 +- .../mcwl/resource/service/impl/PlatFormServiceImpl.java | 7 +++---- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/communityCenter/PlaFormController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/communityCenter/PlaFormController.java index 7cbf892..fd135f9 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/communityCenter/PlaFormController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/communityCenter/PlaFormController.java @@ -41,7 +41,7 @@ public class PlaFormController extends BaseController { @GetMapping("/list") public R> list() { - return platFormService.listplatForm(platForm); + return R.ok(platFormService.listplatForm()); } /*** diff --git a/mcwl-resource/src/main/java/com/mcwl/resource/mapper/PlatFormMapper.java b/mcwl-resource/src/main/java/com/mcwl/resource/mapper/PlatFormMapper.java index 989fe16..f94a341 100644 --- a/mcwl-resource/src/main/java/com/mcwl/resource/mapper/PlatFormMapper.java +++ b/mcwl-resource/src/main/java/com/mcwl/resource/mapper/PlatFormMapper.java @@ -16,7 +16,7 @@ import java.util.List; */ @Mapper public interface PlatFormMapper extends BaseMapper { - List listplatForm(PlatForm platForm); + List listplatForm(); } diff --git a/mcwl-resource/src/main/java/com/mcwl/resource/service/PlatFormService.java b/mcwl-resource/src/main/java/com/mcwl/resource/service/PlatFormService.java index 781b0c2..3e4e252 100644 --- a/mcwl-resource/src/main/java/com/mcwl/resource/service/PlatFormService.java +++ b/mcwl-resource/src/main/java/com/mcwl/resource/service/PlatFormService.java @@ -15,7 +15,7 @@ import java.util.List; */ public interface PlatFormService extends IService { - List listplatForm(PlatForm platForm); + List listplatForm(); diff --git a/mcwl-resource/src/main/java/com/mcwl/resource/service/impl/PlatFormServiceImpl.java b/mcwl-resource/src/main/java/com/mcwl/resource/service/impl/PlatFormServiceImpl.java index b1e989b..a95aaed 100644 --- a/mcwl-resource/src/main/java/com/mcwl/resource/service/impl/PlatFormServiceImpl.java +++ b/mcwl-resource/src/main/java/com/mcwl/resource/service/impl/PlatFormServiceImpl.java @@ -7,7 +7,6 @@ import com.mcwl.resource.domain.request.PlatForm; import com.mcwl.resource.mapper.PlatFormMapper; import com.mcwl.resource.service.PlatFormService; import io.swagger.annotations.ApiOperation; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -31,12 +30,12 @@ public class PlatFormServiceImpl extends ServiceImpl i /** * 平台官方app联系方式列表 * - * @param platForm + * @param * @return */ @Override - public List listplatForm(PlatForm platForm) { - return baseMapper.listplatForm(platForm); + public List listplatForm( ) { + return baseMapper.listplatForm(); }