1. 访问接口
/**
* 查询时段列表
*/
@RateLimiter(time = 10,count = 10)
@ApiOperation("查询时段列表")
@PreAuthorize("@ss.hasPermi('ls/sy:time:list')")
@GetMapping("/list")
public TableDataInfo list(LsTime lsTime)
{
startPage();
List<LsTime> list = lsTimeService.selectLsTimeList(lsTime);
return getDataTable(list);
}
2. 非法请求, 直接拦截

3. 生成验证码

4. 登录, 获取token

5. token令牌, 带上访问接口
Authorization: xxx.xxx.xxx

版权归原作者 weixin_43652507 所有, 如有侵权,请联系我们删除。