mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
21 lines
442 B
PHP
21 lines
442 B
PHP
<?php
|
|
|
|
namespace app\index\controller;
|
|
|
|
use app\BaseController as AppBaseController;
|
|
use app\common\Bootstrap;
|
|
use think\Paginator;
|
|
|
|
class BaseController extends AppBaseController
|
|
{
|
|
public function initialize()
|
|
{
|
|
parent::initialize();
|
|
|
|
Paginator::maker(function($items, $listRows, $currentPage, $total, $simple, $options){
|
|
return new Bootstrap($items, $listRows, $currentPage, $total, $simple, $options);
|
|
});
|
|
|
|
}
|
|
}
|