调整与受管司南之间通知可信节点变化的为控制器向司南发请求推送差值;需要考虑的问题是控制器下线后重新上线如何通知受管司南拉拉取最新信息?(是否有必要?)

Signed-off-by: Chenyang Gao <gps949@outlook.com>
This commit is contained in:
Chenyang Gao
2023-04-07 16:53:11 +08:00
parent 66285ad7f7
commit a7b09b0dfc
15 changed files with 217 additions and 29 deletions

View File

@@ -533,6 +533,8 @@ func (h *Mirage) ConsoleRemoveMachineAPI(
}
return
}
h.NotifyNaviOrgNodesChange(user.OrganizationID, "", machine.NodeKey)
resData.Status = "OK"
resData.ErrMsg = "用户设备成功删除"
writer.Header().Set("Content-Type", "application/json; charset=utf-8")