审核失败删除失败字段

This commit is contained in:
2024-03-27 17:33:36 +08:00
parent 0d173902e8
commit 831e59842a
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();
}
}