add more limiter (#241)

This commit is contained in:
源文雨
2022-05-26 13:55:14 +08:00
parent c8072171f0
commit cb1b7d5da7
5 changed files with 10 additions and 9 deletions

View File

@@ -105,7 +105,7 @@ func init() {
}
return true
},
)).SetBlock(true).
)).Limit(ctxext.LimitByGroup).SetBlock(true).
Handle(func(ctx *zero.Ctx) {
// 获取该群背景类型,默认车万
kind := "车万"