商品rpc数据格式及调用方法
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
733 B

package productrpc
type GetActivityParam struct {
SiteId string `json:"site_id"`
Dbname string `json:"database"`
Id string `json:"id"`
SkuId string `json:"sku_id"`
}
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"`
}
type FavoriteParam struct {
SiteId string `json:"site_id"`
Dbname string `json:"database"`
ProductId string `json:"product_id"`
UserId string `json:"user_id"`
}