|
@@ -147,7 +147,7 @@ func CheckLimit(userType int, userIdent string, isNew bool) (state int64, msg st
|
|
timeLimit, _ := redis.Exists("other", fmt.Sprintf(IC.C.LimitSearchText.LimitKey, userIdent))
|
|
timeLimit, _ := redis.Exists("other", fmt.Sprintf(IC.C.LimitSearchText.LimitKey, userIdent))
|
|
if timeLimit {
|
|
if timeLimit {
|
|
state = -1
|
|
state = -1
|
|
- msg = fmt.Sprintf("当前用户\n招投标筛选在%d秒内请求频次过多,\n并发通道-\n总数:%d,\n未使用数量:%d", IC.C.LimitSearchText.TimeOut, IC.C.LimitSearchText.Count, limitCount)
|
|
|
|
|
|
+ msg = fmt.Sprintf("当前用户:%s \n招投标筛选在%d秒内请求频次过多,\n并发通道-\n总数:%d,\n未使用数量:%d", userIdent, IC.C.LimitSearchText.TimeOut, IC.C.LimitSearchText.Count, limitCount)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
}
|
|
}
|