fix: 修复参数接收强制转换

This commit is contained in:
Ying
2023-06-25 16:56:18 +08:00
parent b4b73ac2aa
commit 34dd0a2086
3 changed files with 22 additions and 18 deletions

View File

@@ -43,8 +43,8 @@ class Dictionary extends AdminController
{
$post = input();
$pid = input('pid');
$limit = input('limit/d') ?? 10;
$page = input('page/d') ?? 1;
$limit = input('limit') ?? 10;
$page = input('page') ?? 1;
if ($pid == null) {
$pid = (string)$this->model->minId();
}