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

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") @GetMapping("/list")
public R<List<PlatForm>> 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 @Mapper
public interface PlatFormMapper extends BaseMapper<PlatForm> { 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> { 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.mapper.PlatFormMapper;
import com.mcwl.resource.service.PlatFormService; import com.mcwl.resource.service.PlatFormService;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
@ -31,12 +30,12 @@ public class PlatFormServiceImpl extends ServiceImpl<PlatFormMapper, PlatForm> i
/** /**
* app * app
* *
* @param platForm * @param
* @return * @return
*/ */
@Override @Override
public List<PlatForm> listplatForm(PlatForm platForm) { public List<PlatForm> listplatForm( ) {
return baseMapper.listplatForm(platForm); return baseMapper.listplatForm();
} }