north 8 年之前
父节点
当前提交
392956f71f
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      www/protected/modules/moonclub/controllers/ReserveController.php

+ 3 - 1
www/protected/modules/moonclub/controllers/ReserveController.php

@@ -134,7 +134,9 @@ class ReserveController extends MoonClubBaseController
         $criteria->user('==',new MongoId($user_id));
         $criteria->user('==',new MongoId($user_id));
         $cursor = Reserve::model()->findAll($criteria);
         $cursor = Reserve::model()->findAll($criteria);
         if (count($cursor) >= 1){
         if (count($cursor) >= 1){
-            var_dump($cursor);exit;
+            foreach ($cursor as $k => $v) {
+                var_dump($v);
+            }exit;
             CommonFn::requestAjax(true,'您已经提交过信息',$cursor);
             CommonFn::requestAjax(true,'您已经提交过信息',$cursor);
             exit;
             exit;
         }
         }