From 47a45bd7223db750b3127288787186335b519b2c Mon Sep 17 00:00:00 2001 From: guzeng Date: Sat, 21 Aug 2021 11:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BB=93=E6=9E=84=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.info.go | 13 +++++++++++++ client.is_open.go | 6 ++++++ 2 files changed, 19 insertions(+) create mode 100644 client.info.go create mode 100644 client.is_open.go diff --git a/client.info.go b/client.info.go new file mode 100644 index 0000000..d834d93 --- /dev/null +++ b/client.info.go @@ -0,0 +1,13 @@ +package supplierrpc + +type GetParam struct { + SiteId string `json:"site_id"` + Dbname string `json:"database"` + Id string `json:"id"` +} + +type GetUuidParam struct { + SiteId string `json:"site_id"` + Dbname string `json:"database"` + Uuid string `json:"uuid"` +} diff --git a/client.is_open.go b/client.is_open.go new file mode 100644 index 0000000..46e69c8 --- /dev/null +++ b/client.is_open.go @@ -0,0 +1,6 @@ +package supplierrpc + +type BoolRet struct { + Value bool `json:"value"` + Msg string `json:"msg"` +}