Commit 644c1d68 by doszhang

dos

parent 32a05d3c
...@@ -36,7 +36,7 @@ class IndexController extends Controller ...@@ -36,7 +36,7 @@ class IndexController extends Controller
public function get_random_prize($user) public function get_random_prize($user)
{ {
$v = rand(0, 1000000) / 1000000; $v = rand(0, 1000000) / 1000000;
$today_ratio = 0.01; $today_ratio = 1;
if ($v > $today_ratio) { if ($v > $today_ratio) {
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