原后台财务补遗换页

This commit is contained in:
wanyongkang
2020-11-14 11:36:45 +08:00
parent b3d8ec504c
commit ffdaf64f8c

View File

@@ -5,7 +5,7 @@
* @Author: kangkang * @Author: kangkang
* @Date: 2020-10-13 19:52:37 * @Date: 2020-10-13 19:52:37
* @LastEditors: kangkang * @LastEditors: kangkang
* @LastEditTime: 2020-11-02 11:35:58 * @LastEditTime: 2020-11-14 11:36:10
*/ */
/* /*
* @Descripttion: * @Descripttion:
@@ -32,8 +32,8 @@ class FinanceCheck extends Controller
public function getList() public function getList()
{ {
$page = 0; $page = 0;
if (isset($_GET['PageIndex'])) { if (isset($_GET['page'])) {
$page = ($_GET['PageIndex'] - 1) * 50; $page = ($_GET['page'] - 1) * 50;
} }
$finance_model = new FinanceModel; $finance_model = new FinanceModel;
@@ -108,8 +108,8 @@ class FinanceCheck extends Controller
public function buyiList() public function buyiList()
{ {
$page = 0; $page = 0;
if (isset($_GET['PageIndex'])) { if (isset($_GET['page'])) {
$page = ($_GET['PageIndex'] - 1) * 50; $page = ($_GET['page'] - 1) * 50;
} }
$finance_model = new FinanceOperationModel; $finance_model = new FinanceOperationModel;