Пример #1
0
 /**
  * 返回当前页面的 URL ,带查询参数,包括域名
  *
  * @return string 比如 http://www.aaa.com/User/Login?username=xxx&password=xxx
  *
  * */
 public static function getFullURL()
 {
     return Route::getDomain(true) . Route::getRequestURL();
 }