首页面板

This commit is contained in:
yanwenwu
2018-11-16 18:27:51 +08:00
parent cd74f692ed
commit 0e0492978c
3 changed files with 129 additions and 2 deletions

View File

@@ -44,6 +44,6 @@ abstract class Base extends Controller
*/
protected function start()
{
return (int)$this->limit * (int)$this->page;
return (int)$this->limit * ((int)$this->page - 1) + 1;
}
}