功能bug

back_recharge
zhangshanxue 2020-06-08 10:30:58 +08:00
parent 758817d5f3
commit 0de940f9d0
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ import com.ljsd.jieling.core.FunctionManager;
public class FunctionContext {
public static FunctionManager getFunction(int type){
if(FunctionIdEnum.getFunctionIdEnumByType(type)==null){
return null;
}
return FunctionIdEnum.getFunctionIdEnumByType(type).getManager();
}
public static FunctionIdEnum getEnumByProto(int protoId){