Skip to content

Commit 4b151d6

Browse files
committed
Add Client address to request data .
1 parent e7af9e7 commit 4b151d6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • server/src/main/java/com/androthink/server/model

server/src/main/java/com/androthink/server/model/Route.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
public class Route {
66
private String path;
77
private String method;
8+
private String Description;
89
private boolean isAuth;
910
private boolean isRouteStartWith;
1011
private RouteCallBack callBack;
@@ -83,6 +84,14 @@ public void setAuth(boolean auth) {
8384
isAuth = auth;
8485
}
8586

87+
public String getDescription() {
88+
return Description;
89+
}
90+
91+
public void setDescription(String description) {
92+
Description = description;
93+
}
94+
8695
public RouteCallBack getCallBack() {
8796
return callBack;
8897
}

0 commit comments

Comments
 (0)