This commit is contained in:
wangmingqing 2023-06-19 17:33:12 +08:00
parent e0bae11eec
commit 81e7eeaa68
2 changed files with 12 additions and 1 deletions

View File

@ -60,7 +60,7 @@ else if(!empty($_SERVER['REQUEST_URI'])&& (preg_match("@\/d\/@", strtolower($_SE
}
//如果是正式环境
else{
echo 1232132132132132131232131;die;
// echo 1232132132132132131232131;die;
//日志前缀
define("TIFFANY_API_REDIS_LOG_PREFIX", "tiffany/api/");

View File

@ -10,6 +10,17 @@ class Oauth2Controller extends ControllerBase{
function initialize(){
parent::initialize();
}
function aaaaaaAction(){
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{
echo 333333;die;
}
}
// http://127.0.0.1/tiffany/api/oauth2/wmqtest
// http://weapp.wemediacn.net/d/tiffany/api/oauth2/wmqtest
function wmqtestAction(){