Commit eb1b53fc by doszhang

Update IndexController.class.php

parent 90b4d3f8
......@@ -151,7 +151,7 @@ class IndexController extends Controller
{
session_start();
$v = rand(0, 1000000) / 1000000;
$today_ratio = 0.3;
$today_ratio = 0.4;
if ($v > $today_ratio) {
return false;
}
......@@ -185,17 +185,17 @@ class IndexController extends Controller
else if($date == '20191225')
{
if ($type == 1) {
if ($c >= 10) {
if ($c >= 22) {
continue;
}
}
else if ($type == 2) {
if ($c >= 200) {
if ($c >= 450) {
continue;
}
}
else if ($type == 3) {
if ($c >= 520) {
if ($c >= 1170) {
continue;
}
}
......@@ -203,17 +203,17 @@ class IndexController extends Controller
else if($date == '20191226')
{
if ($type == 1) {
if ($c >= 3) {
if ($c >= 25) {
continue;
}
}
else if ($type == 2) {
if ($c >= 50) {
if ($c >= 500) {
continue;
}
}
else if ($type == 3) {
if ($c >= 130) {
if ($c >= 1300) {
continue;
}
}
......@@ -283,15 +283,15 @@ class IndexController extends Controller
}
else if($date == '20191225')
{
echo '优酷:' . $p1 . '/10' . '<br />';
echo '2元:' . $p2 . '/200' . '<br />';
echo '1元:' . $p3 . '/520' . '<br />';
echo '优酷:' . $p1 . '/22' . '<br />';
echo '2元:' . $p2 . '/450' . '<br />';
echo '1元:' . $p3 . '/1170' . '<br />';
}
else if($date == '20191226')
{
echo '优酷:' . $p1 . '/3' . '<br />';
echo '2元:' . $p2 . '/50' . '<br />';
echo '1元:' . $p3 . '/130' . '<br />';
echo '优酷:' . $p1 . '/25' . '<br />';
echo '2元:' . $p2 . '/500' . '<br />';
echo '1元:' . $p3 . '/1300' . '<br />';
}
}
......
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