From cabaf90c4d08a8ba3a1dea12a6aa87683bbcca81 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 03 七月 2024 01:07:51 +0800 Subject: [PATCH] 添加布控接口 --- vo/ape.go | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/vo/ape.go b/vo/ape.go index cae2ebd..d820256 100644 --- a/vo/ape.go +++ b/vo/ape.go @@ -57,3 +57,13 @@ type NotificationApeList struct { APEObject []Ape `json:"APEObject"` } + +type ApeStatus struct { + ApeID string `json:"ApeID" binding:"required"` + IsOnline string `json:"IsOnline" binding:"required"` + CurrentTime string `json:"CurrentTime" binding:"required"` +} + +type NotificationApeStatusList struct { + APEStatusObject []ApeStatus `json:"APEStatusObject"` +} -- Gitblit v1.8.0