注释类型 RateLimit

    • 元素详细资料

      • key

        String key
        限流key
        默认值:
        "huermao:rate_limit:"
      • time

        int time
        限流时间,单位秒
        默认值:
        60
      • count

        int count
        限流次数
        默认值:
        100
      • message

        String message
        提示信息
        默认值:
        "\u8bbf\u95ee\u8fc7\u4e8e\u9891\u7e41\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5"
      • limitType

        LimitType limitType
        限流类型
        默认值:
        cn.huermao.framework.enums.LimitType.DEFAULT