diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index 1e79d92..43e9615 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -606,9 +606,7 @@ class PlaneController extends PublicController if ($_REQUEST['refund_status']) { $data['refund_status'] = htmlspecialchars($_REQUEST['refund_status']); } - if ($_REQUEST['by_plane_id']) { - $data['by_plane_id'] = ($_REQUEST['by_plane_id'] == '') ? null : intval($_REQUEST['by_plane_id']); - } + $data['by_plane_id'] = ($_REQUEST['by_plane_id'] == '') ? null : intval($_REQUEST['by_plane_id']); //有值写入 没值设null if ($orderDb->where($where)->save($data)) { //修改数据 $topicPrefix = makeTopicPrefix($order['openid']); //小程序端用户订阅主题的前缀 ps:订单对应的用户的openid算出来的 // 提醒小程序端 刷新订单列表(mqtt)