From 69595f2d65c11496706da99eea789782f6283b24 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Tue, 17 Jun 2025 12:38:22 +0800 Subject: [PATCH] no message --- app/Services/TG/Hook/Mod/Book.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/app/Services/TG/Hook/Mod/Book.php b/app/Services/TG/Hook/Mod/Book.php index 7471f127..7e093157 100644 --- a/app/Services/TG/Hook/Mod/Book.php +++ b/app/Services/TG/Hook/Mod/Book.php @@ -231,7 +231,7 @@ class Book extends Base { return $r; } - public function limit($aParam) + public function g_limit($aParam) { $iLimit = $aParam["aArg"][1]; @@ -851,6 +851,19 @@ class Book extends Base { //// page 系列 end //// parent 系列 + public function limit($aParam) + { + $iValue = $aParam["aArg"][1] ?? 10; + + $oParentRag = $this->_getParentRag(); + + $oParentRag->limit = $iValue; + + $oParentRag->save(); + + return $this->openRe(); + } + public function parent_detail() { $oParentRag = $this->_getParentRag();