|
@@ -114,10 +114,9 @@ class UserController extends O2oBaseController{
|
|
$criteria->booking_time('<', intval($end_time));
|
|
$criteria->booking_time('<', intval($end_time));
|
|
$criteria->user('==', new MongoId($user_id));
|
|
$criteria->user('==', new MongoId($user_id));
|
|
$orders = ROrder::model()->findAll($criteria);
|
|
$orders = ROrder::model()->findAll($criteria);
|
|
- $data['errorCode'] = '0';
|
|
|
|
- $data['result'] = $orders;
|
|
|
|
|
|
|
|
- return CommonFn::requestAjax(true,$data);
|
|
|
|
|
|
+
|
|
|
|
+ return CommonFn::requestAjax(true,$orders);
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|