This commit is contained in:
wangmingqing 2023-05-29 17:40:44 +08:00
parent 21e9d13241
commit 01bd8f7322

View File

@ -11,6 +11,14 @@ class Oauth2Controller extends ControllerBase{
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