mirror of
https://gitee.com/BDWare/agent-backend
synced 2025-01-09 17:34:13 +00:00
fix: MultiPointCooperationExecutor
This commit is contained in:
parent
8618e61d98
commit
b1bf67c802
@ -744,7 +744,11 @@ public class NodeCenterClientController implements NodeCenterConn {
|
||||
@Action(async = true)
|
||||
public void onDistribute(JsonObject json, ResultCallback rc) {
|
||||
if (json.has("over")) {
|
||||
String distributeID = json.get("distributeID").getAsString();
|
||||
|
||||
String distributeID = null;
|
||||
if (json.has("distributeID"))
|
||||
distributeID = json.get("distributeID").getAsString();
|
||||
else distributeID = json.get("responseID").getAsString();
|
||||
ResultCallback to = distributeReqMap.get(distributeID);
|
||||
distributeReqMap.remove(distributeID);
|
||||
to.onResult(json.get("content").getAsString());
|
||||
|
Loading…
Reference in New Issue
Block a user