Commit a088b90b by doszhang

dos

parent 78442e35
......@@ -36,7 +36,7 @@ class IndexController extends Controller
public function get_random_prize($user)
{
$v = rand(0, 1000000) / 1000000;
$today_ratio = 1;
$today_ratio = 0.01;
if ($v > $today_ratio) {
return false;
}
......@@ -46,7 +46,7 @@ class IndexController extends Controller
'prize_type' => $type,
'is_get' => 1
))->count();
if ($c >= 20) {
if ($c >= 10) {
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