|
@@ -10,16 +10,10 @@ use think\Db;
|
|
|
*/
|
|
|
class Usermanage extends Base
|
|
|
{
|
|
|
- protected $page; // 页数
|
|
|
- protected $page_num;
|
|
|
- protected $off_set;
|
|
|
|
|
|
public function initialize()
|
|
|
{
|
|
|
- //parent::check_login();
|
|
|
- $this->page = input('page',1);
|
|
|
- $this->page_num = input('page_num',20);
|
|
|
- $this->off_set = $this->page * $this->page_num - $this->page_num;
|
|
|
+ parent::check_login();
|
|
|
}
|
|
|
|
|
|
|