Commit 62185bef by doszhang

dois

parent 5863071a
...@@ -44,9 +44,8 @@ class IndexController extends Controller ...@@ -44,9 +44,8 @@ class IndexController extends Controller
$type = 1; $type = 1;
$c = M('prize')->where(array( $c = M('prize')->where(array(
'prize_type' => $type, 'prize_type' => $type,
'is_get' => 0 'is_get' => 1
))->count(); ))->count();
var_dump($c);die();
if ($c >= 20) { if ($c >= 20) {
return false; 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