【类 型】:

【原  因】:
【过  程】:
【影  响】:
This commit is contained in:
air 2025-06-23 13:59:59 +08:00
parent 2a76a60b91
commit 17db93bd7d

View File

@ -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' => '删除失败'));
}