审核失败删除失败字段

This commit is contained in:
2024-03-27 17:33:54 +08:00
parent 524b298e85
commit 77fb0864bf
3 changed files with 55 additions and 0 deletions
+10
View File
@@ -54,4 +54,14 @@ class DoctorIdenFail extends Model
{
return self::where($params)->get($fields);
}
/**
* 删除
* @param array $params
* @return int|mixed
*/
public static function del(array $params): mixed
{
return self::where($params)->delete();
}
}
+10
View File
@@ -92,4 +92,14 @@ class DoctorIntroductionRecord extends Model
->first($fields);
}
/**
* 删除
* @param array $params
* @return int|mixed
*/
public static function del(array $params): mixed
{
return self::where($params)->delete();
}
}