Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
IceCream-QAQ committed Jul 7, 2020
1 parent 35d2535 commit b64d76f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public class GroupMenu{
@Inject
private YuQ yuq;

@Action("ban")
public String ban(long group, @PathVar(value = 1,type = PathVar.Type.Long)long ban, @PathVar(value = 2,type = PathVar.Type.Integer)int time){
yuq.getGroups().get(group).get(ban).ban(time);
@Action("ban {ban} {time}")
public String ban(Member ban, int time){
ban.ban(time);
return "好的!";
}
}
Expand Down

0 comments on commit b64d76f

Please sign in to comment.