mirror of
https://gitee.com/BDWare/common
synced 2025-01-10 01:44:16 +00:00
feat: support @RouteInfo byFunc
This commit is contained in:
parent
8bf4b1c57d
commit
7a9ce393cd
@ -3,5 +3,6 @@ package org.bdware.sc.bean;
|
||||
public enum DefaultRouteRule {
|
||||
byRequester,
|
||||
byArgHash,
|
||||
byTarget;
|
||||
byTarget,
|
||||
byFunc;
|
||||
}
|
||||
|
@ -9,6 +9,8 @@ import java.io.Serializable;
|
||||
public class RouteInfo implements Serializable {
|
||||
public DefaultRouteRule useDefault;
|
||||
|
||||
public String funcName;
|
||||
|
||||
public static RouteInfo create(AnnotationNode annotationNode, ContractNode contractNode) {
|
||||
RouteInfo info = new RouteInfo();
|
||||
info.useDefault = null;
|
||||
|
Loading…
Reference in New Issue
Block a user