发
This commit is contained in:
parent
81e7eeaa68
commit
6770664b4a
@ -11,12 +11,13 @@ class Oauth2Controller extends ControllerBase{
|
||||
parent::initialize();
|
||||
}
|
||||
function aaaaaaAction(){
|
||||
if(!empty($_SERVER['REQUEST_URI'])&& (preg_match("@\/d\/@", strtolower($_SERVER['REQUEST_URI'])) || preg_match("@\/smsoauth2_qa\/@", strtolower($_SERVER['REQUEST_URI']))) )
|
||||
{
|
||||
if(!empty($_SERVER['REQUEST_URI'])&& (preg_match("@\/d\/@", strtolower($_SERVER['REQUEST_URI'])) || preg_match("@\/smsoauth2_qa\/@", strtolower($_SERVER['REQUEST_URI']))) ){
|
||||
echo 111111;die;
|
||||
}else if($_SERVER['HTTP_HOST'] == '127.0.0.1'){
|
||||
echo 222222;die;
|
||||
}else{
|
||||
$TempCode = TempCode::findFirst("AppId = '0e355010-67b9-4aa6-a53f-c92c972094a7'");
|
||||
echo $TempCode->Code;
|
||||
echo 333333;die;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user