From e4c509ebef7a143382496d51893ad411e32cc872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A0=82=E5=90=89=E8=AF=83=E5=BE=B7=E6=8B=89=E6=9B=BC?= =?UTF-8?q?=E6=9F=A5=E7=9A=84=E8=8B=B1=E8=B1=AA?= Date: Tue, 8 Sep 2026 09:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=98=E5=9E=8B=E5=88=86=E7=B1=BB=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=20subjectId=20=E6=94=AF=E6=8C=81=E7=BC=BA=E7=9C=81?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E4=BC=A0=E6=97=B6=E8=BF=94=E5=9B=9E=E4=B8=8D?= =?UTF-8?q?=E9=99=90=E7=A7=91=E7=9B=AE=E7=9A=84=E5=88=86=E7=B1=BB=E6=A0=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JsonRpcInterface/CampusRelationInterface.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ExamService/JsonRpcInterface/CampusRelationInterface.php b/src/ExamService/JsonRpcInterface/CampusRelationInterface.php index 3647703..d2415dc 100644 --- a/src/ExamService/JsonRpcInterface/CampusRelationInterface.php +++ b/src/ExamService/JsonRpcInterface/CampusRelationInterface.php @@ -27,13 +27,13 @@ interface CampusRelationInterface public function getCategoriesByConditions(int $campusId, int $examTypeId, int $subjectId): array; /** - * App 平台方法:指定地区+招考类型+科目下的题型分类树。 + * App 平台方法:指定地区+招考类型下的题型分类树,可选按科目过滤。 * @param int $regionId 招考地区ID,0=全部 * @param int $examTypeId 招考类型ID - * @param int $subjectId 考试科目ID + * @param int $subjectId 考试科目ID,0=不限科目 * @return array */ - public function appGetCategoriesByRegionExamTypeSubject(int $regionId, int $examTypeId, int $subjectId): array; + public function appGetCategoriesByRegionExamTypeSubject(int $regionId, int $examTypeId, int $subjectId = 0): array; /** * App 平台方法:按招考类型获取首页科目列表,并统计模拟/真题套卷总套数。