From 811ce7be2206ed2e2d99fdf3a086fd9b7cf6e7c2 Mon Sep 17 00:00:00 2001 From: guzeng Date: Wed, 6 Oct 2021 17:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=98=E9=87=8F=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- variable.go | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 variable.go diff --git a/variable.go b/variable.go new file mode 100644 index 0000000..e5ed754 --- /dev/null +++ b/variable.go @@ -0,0 +1,27 @@ +package productrpc + +type GetActivityParam struct { + SiteId string `json:"site_id"` + Dbname string `json:"database"` + Id string `json:"id"` + SkuId string `json:"sku_id"` + ActivityStatus string `json:"activity_status"` +} + +type GetUuidParam struct { + SiteId string `json:"site_id"` + Dbname string `json:"database"` + Uuid string `json:"uuid"` + Field string `json:"field"` +} +type BoolRet struct { + Value bool `json:"value"` + Msg string `json:"msg"` +} + +type ReqParam struct { + SiteId string `json:"site_id"` + Dbname string `json:"database"` + Id string `json:"id"` + Field string `json:"field"` +}