Commit 964b07ad by doszhang

dos

parent 7ef550b6
......@@ -44,6 +44,7 @@ class IndexController extends Controller
$type = 1;
$c = M('prize')->where(array(
'prize_type' => $type,
'is_get' => 0
))->count();
if ($c >= 20) {
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