mirror of
https://gitee.com/BDWare/agent-backend
synced 2025-01-10 01:44:14 +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)
|
@Action(async = true)
|
||||||
public void onDistribute(JsonObject json, ResultCallback rc) {
|
public void onDistribute(JsonObject json, ResultCallback rc) {
|
||||||
if (json.has("over")) {
|
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);
|
ResultCallback to = distributeReqMap.get(distributeID);
|
||||||
distributeReqMap.remove(distributeID);
|
distributeReqMap.remove(distributeID);
|
||||||
to.onResult(json.get("content").getAsString());
|
to.onResult(json.get("content").getAsString());
|
||||||
|
Loading…
Reference in New Issue
Block a user