Commit 08156663 by doszhang

dos

parent e871cce0
...@@ -151,13 +151,13 @@ class IndexController extends Controller ...@@ -151,13 +151,13 @@ class IndexController extends Controller
{ {
session_start(); session_start();
$v = rand(0, 1000000) / 1000000; $v = rand(0, 1000000) / 1000000;
$today_ratio = 0; $today_ratio = 1;
if ($v > $today_ratio) { if ($v > $today_ratio) {
return false; return false;
} }
$now = time(); $now = time();
$req_type = array(); $req_type = array();
$type_list = array(2); $type_list = array(3);
foreach ($type_list as $type) { foreach ($type_list as $type) {
$c = M('prize')->where(array( $c = M('prize')->where(array(
'type' => $type, 'type' => $type,
......
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