[ Server ] [ Server ] - 增加服务器角色部分的内容

This commit is contained in:
zeaslity
2023-10-08 14:30:17 +08:00
parent 9197031e81
commit 2594514a87
29 changed files with 416 additions and 209 deletions

View File

@@ -1,4 +1,4 @@
package io.wdd.func.script.service;
package io.wdd.func.auto.service;
import java.util.List;
@@ -11,5 +11,4 @@ public interface FuncService {
List<String> callAppFuncService(String agentTopicName, String appFunctionName, List<String> funcArgs);
}

View File

@@ -1,4 +1,4 @@
package io.wdd.func.script.service;
package io.wdd.func.auto.service;
import io.wdd.rpc.execute.ExecutionMessageType;
import io.wdd.rpc.execute.service.ExecutionService;
@@ -40,9 +40,10 @@ public class FuncServiceImpl implements FuncService {
}
// 归一化调用
private List<String> syncCallFunction(String agentTopicName, ExecutionMessageType emType, String funcName, List<String> funcArgs) {
// 重新构造内容
// 重新构造内容增加Function Name
funcArgs.add(
0,
funcName
@@ -60,7 +61,6 @@ public class FuncServiceImpl implements FuncService {
false
);
return resultLog;
}