Commit 6c4cd0ff by doszhang

dos

parent 48d1c6d1
......@@ -211,25 +211,25 @@ class IndexController extends Controller
}
}
// public function defaultStatus() {
// if($_GET['password'] != 'UUvjQ1AT9fNwYlmNGEe1TSqbin7tClIg')
// {
// header("HTTP/1.0 404 Not Found");
// exit;
// }
// M('user')->where('1=1')->save(array(
// 'tel' => NULL,
// 'is_prize' => 0
// ));
public function defaultStatus() {
if($_GET['password'] != 'UUvjQ1AT9fNwYlmNGEe1TSqbin7tClIg')
{
header("HTTP/1.0 404 Not Found");
exit;
}
M('user')->where('1=1')->save(array(
'tel' => NULL,
'is_prize' => 0
));
// M('prize')->where('1=1')->save(array(
// 'take_time' => 0,
// 'user_id' => 0,
// 'is_get' => 0,
// 'last_ip' => ''
// ));
// echo 'clear complete';
// }
M('prize')->where('1=1')->save(array(
'take_time' => 0,
'user_id' => 0,
'is_get' => 0,
'last_ip' => ''
));
echo 'clear complete';
}
public function cookie()
{
......
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