feat: 将零部件树回显接口改为Post请求

This commit is contained in:
2024-02-19 10:49:34 +08:00
parent 57e209aa32
commit 4283224708
@@ -12,10 +12,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.List;
@@ -46,7 +43,7 @@ public class LawsPartNameController {
@AutoLog(value = "企业标准-零部件树选中回显")
@ApiOperation(value = "企业标准-零部件树选中回显", notes = "企业标准-零部件树选中回显")
@GetMapping("/echo")
@PostMapping("/echo")
public Result<List<PartName>> queryEcho(@RequestParam(name = "selectNodeCodes", required = false, defaultValue = "")
@ApiParam("选中的节点名称") String selectNodeCodes) {
List<PartName> list = partNameService.queryEcho(selectNodeCodes);