mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-02 13:12:49 +08:00
Merge branch 'master' of https://github.com/top-think/framework
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