diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index ee4220f..5cc5a7e 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -533,7 +533,7 @@ class PlaneController extends PublicController $this->ajaxReturn(['status' => 0, 'msg' => '缺少参数 shop_id']); return; } - $shop_id = intval($_REQUEST['shop_id']); // 强制转 int + $shop_id = trim($_REQUEST['shop_id']); // 保留字符串,不转 int } // 获取禁飞区数据