|
|
@@ -13,10 +13,7 @@ import org.springframework.data.domain.Page;
|
|
|
import org.springframework.data.domain.Pageable;
|
|
|
import org.springframework.data.web.PageableDefault;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -49,7 +46,7 @@ public class ProjectInfoController {
|
|
|
|
|
|
@Operation(summary = "删除项目")
|
|
|
@RequestMapping(value = "deleteProjectInfo", method = {RequestMethod.GET})
|
|
|
- public ResultContent deleteProjectInfo(String id) {
|
|
|
+ public ResultContent deleteProjectInfo(@Parameter(name = "id") @RequestParam("id") String id) {
|
|
|
return projectInfoService.deleteProjectInfo(id);
|
|
|
}
|
|
|
|