Commit 9646c6bd by doszhang

dos

parent a52d0c39
...@@ -63,7 +63,7 @@ class IndexController extends Controller ...@@ -63,7 +63,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 = 1; $today_ratio = 0.005;
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