Commit 7317edf1 by doszhang

dos

parent c75137db
......@@ -63,15 +63,7 @@ class IndexController extends Controller
public function get_random_prize($user)
{
$v = rand(0, 1000000) / 1000000;
if($user['openid'] == 'oOS0Zt_1pSOm0muh-_akcyHIcAPc')
{
$today_ratio = 1;
}
else
{
$today_ratio = 0.005;
}
$today_ratio = 0.005;
if ($v > $today_ratio) {
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