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; } /**