From ff7393597342798ec95848b153590a9a7d7c80a5 Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Mon, 14 Apr 2025 14:32:07 +0800 Subject: [PATCH] feat : sts --- app/Service/Api/Evaluation/ListService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/Api/Evaluation/ListService.php b/app/Service/Api/Evaluation/ListService.php index 49c6021..aba0198 100644 --- a/app/Service/Api/Evaluation/ListService.php +++ b/app/Service/Api/Evaluation/ListService.php @@ -52,7 +52,7 @@ class ListService extends BaseService */ public function handle(): array { - $limit = $this->request->input('limit') ?? 10; + $limit = (int)$this->request->input('limit',10); $data = $this->evaluationModel ->where('user_id', $this->userId)