Commit c7af7126 by doszhang

dos

parent 44951073
......@@ -122,7 +122,6 @@ class IndexController extends Controller
}
$req_type[] = $type;
}
print_r($req_type);die();
if (empty($req_type)) {
return false;
}
......@@ -131,6 +130,8 @@ class IndexController extends Controller
'user_id' => 0,
'type' => array('in', $req_type),
))->order('rand()')->limit(1)->find();
print_r($prize);die();
if (!$prize) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment