mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正分页类自动获取当前url
This commit is contained in:
@@ -137,8 +137,7 @@ abstract class Paginator
|
||||
*/
|
||||
public static function getCurrentPath()
|
||||
{
|
||||
//TODO 待Request类完善后这里再完善
|
||||
return '/' . $_SERVER['PATH_INFO'];
|
||||
return Request::instance()->url();
|
||||
}
|
||||
|
||||
public function total()
|
||||
|
||||
Reference in New Issue
Block a user