From 39d37538c596f198217d2566f1232c7a32551695 Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Tue, 2 Jun 2026 17:05:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=A0=A1=E5=AF=B9=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=90=8D=20check=5Ftype->type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Plagiarism.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/controller/Plagiarism.php b/application/api/controller/Plagiarism.php index 9d0020b7..98ab62a8 100644 --- a/application/api/controller/Plagiarism.php +++ b/application/api/controller/Plagiarism.php @@ -37,14 +37,14 @@ class Plagiarism extends Base * article_id 必填 * file_url 选填;不传则按 article_id 在 t_article_file 找 manuscirpt * editor_id 选填;触发人 user_id(前端拿不到也可以传 0) - * check_type 选填;full(默认全文)| body_only(正文)| both(各提交一条) + * type 选填;full(默认全文)| body_only(正文)| both(各提交一条) */ public function submit() { $articleId = intval($this->request->param('article_id', 0)); $fileUrl = trim($this->request->param('file_url', '')); $editorId = intval($this->request->param('editor_id', 0)); - $checkType = trim($this->request->param('check_type', 'full')); + $checkType = trim($this->request->param('type', 'full')); if ($articleId <= 0) { return jsonError('article_id required');