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