From 36eafbb83298170780fbd1961a03c6f188b56237 Mon Sep 17 00:00:00 2001 From: haomingming Date: Mon, 20 Jul 2026 14:28:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E4=B8=8D=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E7=9B=91=E7=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Model/ReportRegulatory.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/Model/ReportRegulatory.php b/app/Model/ReportRegulatory.php index e2ca5a9..3314a46 100644 --- a/app/Model/ReportRegulatory.php +++ b/app/Model/ReportRegulatory.php @@ -76,9 +76,17 @@ class ReportRegulatory extends Model * @param array $data * @return ReportRegulatory|\Hyperf\Database\Model\Model */ - public static function addReportRegulatory(array $data): ReportRegulatory|\Hyperf\Database\Model\Model + // public static function addReportRegulatory(array $data): ReportRegulatory|\Hyperf\Database\Model\Model + // { + // return self::create($data); + // } + /** + * 暂时不上报监管 + */ + public static function addReportRegulatory(array $data): bool { - return self::create($data); + // 直接返回成功,不执行创建操作 + return true; } /**