时间:2021-07-01 10:21:17 帮助过:5人阅读
$username = isset($_GET['username'])? $_GET['username'] : '';
$password = isset($_GET['password'])? $_GET['password'] : '';
$ret = array();
if($username=='fdipzone' && $password=='123456'){
$ret['success'] = true;
}else{
$ret['success'] = false;
}
header('content-type:application/json');
echo json_encode($ret);