diff --git a/ThinkPHP/Library/Think/Page.class.php b/ThinkPHP/Library/Think/Page.class.php index bf3d539db..4de005d63 100644 --- a/ThinkPHP/Library/Think/Page.class.php +++ b/ThinkPHP/Library/Think/Page.class.php @@ -85,7 +85,7 @@ public function show() /* 生成URL */ $this->parameter[$this->p] = '[PAGE]'; - $this->url = U(ACTION_NAME, $this->parameter); + $this->url = U(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME, $this->parameter); /* 计算分页信息 */ $this->totalPages = ceil($this->totalRows / $this->listRows); //总页数 if (!empty($this->totalPages) && $this->nowPage > $this->totalPages) {