[ Server ] [ Server ] - 增加服务器角色部分的内容
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user