Commit db1d7630 by doszhang

dos

parent bf0a1551
......@@ -74,6 +74,7 @@ class IndexController extends Controller
public function tryPrize()
{
echo date('Ymd');
$referer = $_SERVER['HTTP_REFERER'];
$refererInfo = parse_url( $referer );
if( $refererInfo['host'] != $_SERVER['HTTP_HOST'] )
......@@ -163,6 +164,7 @@ class IndexController extends Controller
'prize_type' => $type,
'is_get' => 1,
))->count();
if ($type == 1) {
if ($c >= 25) {
continue;
......
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