处理study接口,添加接口访问限制次数

This commit is contained in:
zhaolongfei
2024-08-21 14:00:35 +08:00
parent 4ff47085b8
commit 616594af9e
3 changed files with 3 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
package com.xboe.school.aspect;
package com.xboe.school.conf;
import java.lang.annotation.*;

View File

@@ -1,4 +1,4 @@
package com.xboe.school.aspect;
package com.xboe.school.conf;
import com.xboe.api.vo.Result;

View File

@@ -3,19 +3,13 @@ package com.xboe.school.study.api;
import java.time.LocalDateTime;
import java.util.*;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import cn.hutool.core.util.ArrayUtil;
import com.alibaba.nacos.shaded.com.google.common.util.concurrent.RateLimiter;
import com.xboe.api.ThirdApi;
import com.xboe.api.vo.*;
import com.xboe.module.course.vo.TeacherVo;
import com.xboe.module.usergroup.entity.UserGroupItem;
import com.xboe.module.usergroup.service.IUserGroupService;
import com.xboe.school.aspect.LimitRequest;
import org.apache.commons.lang3.ArrayUtils;
import com.xboe.school.conf.LimitRequest;
import org.apache.commons.lang3.StringUtils;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;