修改二维码请求类型/删除参数

master
Diyu0904 2025-03-08 18:45:28 +08:00
parent fe85a885b2
commit ecf2d4d66f
4 changed files with 6 additions and 7 deletions

View File

@ -41,7 +41,7 @@ public class PlaFormController extends BaseController {
@GetMapping("/list")
public R<List<PlatForm>> list() {
return platFormService.listplatForm(platForm);
return R.ok(platFormService.listplatForm());
}
/***

View File

@ -16,7 +16,7 @@ import java.util.List;
*/
@Mapper
public interface PlatFormMapper extends BaseMapper<PlatForm> {
List<PlatForm> listplatForm(PlatForm platForm);
List<PlatForm> listplatForm();
}

View File

@ -15,7 +15,7 @@ import java.util.List;
*/
public interface PlatFormService extends IService<PlatForm> {
List<PlatForm> listplatForm(PlatForm platForm);
List<PlatForm> listplatForm();

View File

@ -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<PlatFormMapper, PlatForm> i
/**
* app
*
* @param platForm
* @param
* @return
*/
@Override
public List<PlatForm> listplatForm(PlatForm platForm) {
return baseMapper.listplatForm(platForm);
public List<PlatForm> listplatForm( ) {
return baseMapper.listplatForm();
}