initial commit

This commit is contained in:
2025-04-29 18:09:00 +08:00
commit 4faed52de5
690 changed files with 13481 additions and 0 deletions

6
apps/dict/throttle.py Normal file
View File

@@ -0,0 +1,6 @@
from ninja_extra.throttling import UserRateThrottle
# ~~~~~~~~~~~注意当前只对缩略语添加1分钟一次用于Jmeter测试记得删除~~~~~~~~~~~
# 限流类 - 只能一分钟请求5次
class User60MinRateThrottle(UserRateThrottle):
rate = '60/min'
scope = 'minutes'