解决get请求数据量过大报错问题

This commit is contained in:
2023-04-25 09:49:24 +08:00
parent a8a97f0f4c
commit d87d95eae4
3 changed files with 4 additions and 3 deletions

View File

@@ -209,7 +209,7 @@ public class TerminalBaseController extends BaseController {
@OperateInfo
@PostMapping("/getSubstationById")
@ApiIgnore
public HttpResult<List<Line>> getSubstationById(@RequestParam("list") List<String> list) {
public HttpResult<List<Line>> getSubstationById(@RequestBody List<String> list) {
String methodDescribe = getMethodDescribe("getSubstationById");
LogUtil.njcnDebug(log, "{},变电站集合为:{}", methodDescribe, list);
List<Line> subList = terminalBaseService.getSubstationById(list);