Commit 27c193c3 by doszhang

dos

parent b0a0c6ed
...@@ -46,7 +46,7 @@ class IndexController extends Controller ...@@ -46,7 +46,7 @@ class IndexController extends Controller
'prize_type' => $type, 'prize_type' => $type,
'is_get' => 1 'is_get' => 1
))->count(); ))->count();
if ($c >= 10) { if ($c >= 8) {
return false; return false;
} }
...@@ -162,8 +162,4 @@ class IndexController extends Controller ...@@ -162,8 +162,4 @@ class IndexController extends Controller
)); ));
return; return;
} }
public function cookie()
{
SignedCookie::set_cookie($this->cookie_uid_key, 'o7afuwqH_VbuzStmdDkQlW6BqJNo', C('cookie_sign'), 86400 * 60);
}
} }
\ No newline at end of file
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