diff --git a/Application/Admin/Controller/TimingController.class.php b/Application/Admin/Controller/TimingController.class.php index e12f7b5af..c7bbd2ef9 100644 --- a/Application/Admin/Controller/TimingController.class.php +++ b/Application/Admin/Controller/TimingController.class.php @@ -622,6 +622,11 @@ class TimingController extends AdminController { $promote_data=array_unique($promote_data); sort($promote_data); + if(!$promote_data) { + echo "没有数据"; + die(); + } + $chain_data = M("promote","tab_") ->field("id") ->where(['chain'=>'/','id'=>['in',$promote_data]])