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"` +}