Commit 217b02d3 by doszhang

dos

parent 52fd8ccc
......@@ -274,10 +274,26 @@ class IndexController extends Controller
))->count();
header('Content-Type: text/html; charset=utf-8');
$date = date('Ymd');
echo '优酷:' . $p1 . '<br />';
echo '2元:' . $p2 . '<br />';
echo '1元:' . $p3 . '<br />';
if($date == '20191224')
{
echo '优酷:' . $p1 . '/12' . '<br />';
echo '2元:' . $p2 . '/250' . '<br />';
echo '1元:' . $p3 . '/650' . '<br />';
}
else if($date == '20191225')
{
echo '优酷:' . $p1 . '/10' . '<br />';
echo '2元:' . $p2 . '/200' . '<br />';
echo '1元:' . $p3 . '/520' . '<br />';
}
else if($date == '20191226')
{
echo '优酷:' . $p1 . '/3' . '<br />';
echo '2元:' . $p2 . '/50' . '<br />';
echo '1元:' . $p3 . '/130' . '<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