只用改ThinkPHP\Library\Think\Page.class文件
把return str_replace(urlencode('[PAGE]'), $page, $this->url);改成return str_replace('[PAGE]', $page, $this->url);
把$this->url = U(ACTION_NAME, $this->parameter);改成
$paramStr="";
foreach($this->parameter as $key => $value){
$paramStr = $paramStr.'&'.$key.'='.$value;
}
$paramStr = substr($paramStr,1,strlen($paramStr));
$this->url = U(ACTION_NAME).(strpos(U(),"?")?'&':'?').$paramStr;
发表评论 取消回复