Browse Source

增加结构体

master v0.1.1
guzeng 3 years ago
parent
commit
47a45bd722
2 changed files with 19 additions and 0 deletions
  1. +13
    -0
      client.info.go
  2. +6
    -0
      client.is_open.go

+ 13
- 0
client.info.go View File

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

+ 6
- 0
client.is_open.go View File

@ -0,0 +1,6 @@
package supplierrpc
type BoolRet struct {
Value bool `json:"value"`
Msg string `json:"msg"`
}

Loading…
Cancel
Save