完成分页优化

This commit is contained in:
augushong
2020-08-20 12:12:12 +08:00
parent 44ff06a2fd
commit e07ca74785
5 changed files with 50 additions and 27 deletions

View File

@@ -6,6 +6,7 @@ namespace app\model;
use think\Model;
use think\model\concern\SoftDelete;
use think\Paginator;
/**
* @mixin think\Model
@@ -143,4 +144,5 @@ class Post extends Model
return $url_info['scheme'].'://'.$url_info['host'].'/a'.$this->getData('uid').'.html';
}
}