From b2e17409a87ae315154610485ad2ecaae70e5109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Thu, 16 Apr 2026 10:04:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=8C=BA=E5=9F=9F=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../APT.SK.WebApi/Controllers/Api/RiskAreaController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/APT.MicroApi/APT.SK.WebApi/Controllers/Api/RiskAreaController.cs b/APT.MicroApi/APT.SK.WebApi/Controllers/Api/RiskAreaController.cs index 6c9a69b..215b89f 100644 --- a/APT.MicroApi/APT.SK.WebApi/Controllers/Api/RiskAreaController.cs +++ b/APT.MicroApi/APT.SK.WebApi/Controllers/Api/RiskAreaController.cs @@ -93,13 +93,13 @@ namespace APT.SK.WebApi.Controllers.Api /// 主键ID /// [HttpGet, Route("SKDelete")] - public JsonActionResult SKDelete(string id) + public JsonActionResult SKDelete(string ids) { return SafeExecute(() => { - if (string.IsNullOrEmpty(id)) + if (string.IsNullOrEmpty(ids)) this.ThrowError("060010"); - var area = this.GetEntity(id); + var area = this.GetEntity(ids); var areas = new List(); if (area != null) {