mirror of
https://gitee.com/BDWare/front-base
synced 2025-01-09 17:34:01 +00:00
front: support startMulitipoint with args
fix: ContractClient missing arguments error update: @Router arguments format fix: ContractStatusRecorder null exception
This commit is contained in:
parent
19a033c699
commit
e7f7b80152
@ -117,7 +117,7 @@ public class ActionExecutor<T, U> {
|
||||
public void handle(String action, final U args, final T callback)
|
||||
throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
|
||||
// LOGGER.info("handling " + action + "...");
|
||||
// LOGGER.debug("handle : " + action + " ->" + JsonUtil.toJson(args));
|
||||
// LOGGER.info("handle : " + action + " ->" + JsonUtil.toJson(args));
|
||||
|
||||
if (null != action) {
|
||||
if (staticData.containsKey(action)) {
|
||||
@ -135,7 +135,7 @@ public class ActionExecutor<T, U> {
|
||||
final Pair<Method, Object> pair = handlers.get(action);
|
||||
Action actionAnnotations = pair.first.getAnnotation(Action.class);
|
||||
if (!checkPermission(actionAnnotations, args, permission)) {
|
||||
LOGGER.info("unauthorised action " + action);
|
||||
LOGGER.info("unauthorised action " + action + " -> " + JsonUtil.toJson(args));
|
||||
throw new IllegalArgumentException("unauthorised action " + action);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user