|
@ -0,0 +1,19 @@ |
|
|
|
|
|
package supplierrpc |
|
|
|
|
|
|
|
|
|
|
|
var DES_KEY = "suppli22" |
|
|
|
|
|
|
|
|
|
|
|
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"` |
|
|
|
|
|
} |
|
|
|
|
|
type BoolRet struct { |
|
|
|
|
|
Value bool `json:"value"` |
|
|
|
|
|
Msg string `json:"msg"` |
|
|
|
|
|
} |