|
@@ -598,7 +598,7 @@ func (this *EnglishReportEmailController) Send() {
|
|
|
|
|
|
// 加个缓存吧,避免重复点击
|
|
|
cacheKey := "CACHE_ENGLISH_REPORT_SEND_" + strconv.Itoa(req.ReportId)
|
|
|
- if !utils.Rc.SetNX(cacheKey, 1, 30*time.Second) {
|
|
|
+ if !utils.Rc.SetNX(cacheKey, 1, 300*time.Second) {
|
|
|
br.Msg = "系统处理中,请稍后重试!"
|
|
|
br.ErrMsg = "系统处理中,请稍后重试!" + sysUser.RealName + ";data:" + string(this.Ctx.Input.RequestBody)
|
|
|
return
|