From 17db93bd7df209f64d6ceb22f6cd51770c1559cb Mon Sep 17 00:00:00 2001 From: air <30444667+sszdot@users.noreply.github.com> Date: Mon, 23 Jun 2025 13:59:59 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9A=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91=EF=BC=9A?= =?UTF-8?q?=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A=20?= =?UTF-8?q?=E3=80=90=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FlyCube/MpApi/Controller/PlaneController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index 918290a..ca30b33 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -1055,8 +1055,8 @@ class PlaneController extends PublicController // 执行删除操作 $flight_logDb = D('flight_log'); - if ($flight_logDb->where($where)->delete()) { - echo json_encode(array('status' => 1, 'msg' => '删除成功')); + if ($total = $flight_logDb->where($where)->delete()) { + echo json_encode(array('status' => 1, 'msg' => '删除成功', 'total' => $total)); } else { echo json_encode(array('status' => 0, 'msg' => '删除失败')); }