Browse Source

查看请求头

shish 6 years ago
parent
commit
3551320533
1 changed files with 1 additions and 0 deletions
  1. 1 0
      common/components/util.php

+ 1 - 0
common/components/util.php

@@ -17,6 +17,7 @@ class util
 		if (isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') == true) {
 			return true;
 		}
+		Yii::info('请求头:'.$_SERVER['HTTP_USER_AGENT']);
 		return false;
 	}