Skip to content

Commit

Permalink
Add RequestLimit of 6th anniversary interface
Browse files Browse the repository at this point in the history
  • Loading branch information
leej1012 committed Nov 22, 2023
1 parent fa14d66 commit b9366ec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.github.ontio.controller;

import com.github.ontio.aop.RequestLimit;
import com.github.ontio.model.dto.Anniversary6thDataDto;
import com.github.ontio.service.IActivityDataService;
import io.swagger.annotations.ApiOperation;
Expand All @@ -21,7 +22,7 @@ public class ActivityDataController {
@Autowired
private IActivityDataService activityDataService;


@RequestLimit(count = 120)
@ApiOperation(value = "Get address 6th anniversary data")
@GetMapping(value = "/6th_anniversary/{address}")
public Anniversary6thDataDto queryAddress6thAnniversaryData(@PathVariable("address") @Length(min = 34, max = 42, message = "Incorrect address format") String address) {
Expand Down

0 comments on commit b9366ec

Please sign in to comment.