【类 型】:
【原 因】: 【过 程】: 【影 响】:
This commit is contained in:
parent
2a76a60b91
commit
17db93bd7d
@ -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' => '删除失败'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user