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(); }