发
This commit is contained in:
parent
21e9d13241
commit
01bd8f7322
@ -10,7 +10,15 @@ class Oauth2Controller extends ControllerBase{
|
|||||||
function initialize(){
|
function initialize(){
|
||||||
parent::initialize();
|
parent::initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// http://weapp.wemediacn.net/d/tiffany/api/oauth2/wmqtest
|
||||||
|
function wmqtestAction(){
|
||||||
|
if($_SERVER['HTTP_HOST']!="127.0.0.1"){
|
||||||
|
$this->_LogObj->LogWrite(TIFFANY_API_CHECK_LOG, file_get_contents("php://input"));
|
||||||
|
}
|
||||||
|
echo time();die;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 测试方法
|
* 测试方法
|
||||||
* http://127.0.0.1/tiffany/api/oauth2/test?qaz=wsx
|
* http://127.0.0.1/tiffany/api/oauth2/test?qaz=wsx
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user