fix🐛: fix github.com/alibaba/sentinel-golang middleware(#679)

This commit is contained in:
zhangwenjian committed 2022-08-09 13:00:32 +08:00
1 parent f94b437852
commit d40a0c0837
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ func Sentinel() gin.HandlerFunc {
return sentinel.SentinelMiddleware(
sentinel.WithBlockFallback(func(ctx *gin.Context) {
ctx.AbortWithStatusJSON(200, map[string]interface{}{
"msg": "too many request; the quota used up",
"msg": "too many request; the quota used up!",
"code": 500,
})
}),