feat: 优化代码结构

This commit is contained in:
DengDai
2025-11-24 13:40:58 +08:00
parent aa516a8d71
commit 148fc78014
8 changed files with 69 additions and 261 deletions

View File

@@ -44,7 +44,7 @@ class ReportForm(FlaskForm):
# render_kw={"placeholder": "例如some.site.com"}
# )
reported_pt_site = SelectField('违规站点', validators=[DataRequired()])
reported_uid = StringField(
reported_username = StringField(
'被举报的用户名',
validators=[Optional(), Length(max=50)],
render_kw={"placeholder": "可选"}