Admin-audit-rule
Api:/api/admin/audit/rule
Methods:GET, POST, PUT, PATCH, DELETE
Permission:unlimited
Login auth:Yes
Request and parameters:
"""
GET:
1. 获取所有验证规则
project:<str>, "username", "post_category",
keyword:<str>,不能使用的关键词,支持正则
page:<int>, 第几页, 默认1
pre:<int>, 每页返回pre条数据,默认10
:return:
POST:
添加验证规则
project:<str>, "username", "post_category"
rule:<str>
:return:
DELETE:
删除规则
ids:<array>, rule ids
:return: