This commit is contained in:
parent
012984f636
commit
36eafbb832
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user