提交 892d47ba authored 作者: 张立波's avatar 张立波

消息

上级 17691737
......@@ -26,8 +26,8 @@ type NotifyGoodsData struct {
}
type ThirdGoods struct {
ThirdId interface{} `json:"third_id"` //三方商品id
Skus []int `json:"skus,omitempty"` //三方规格id
ThirdId interface{} `json:"third_id"` //三方商品id
Skus []int `json:"skus,omitempty"` //三方规格id
}
//通知消息系统
......@@ -48,9 +48,10 @@ type GoodsMsgData struct {
//通知客户订单消息
type OrderMsgData struct {
OrderSn string `json:"orderSn"` //外部订单号
Sku uint `json:"sku"`
OrderGoodsSn string `json:"orderGoodsSn"` //商品订单号
OrderSn string `json:"orderSn,omitempty"` //外部订单号
Sku uint `json:"sku,omitempty"`
OrderGoodsSn string `json:"orderGoodsSn,omitempty"` //商品订单号
Sn string `json:"sn,omitempty"` //店铺订单号
}
//通知客户售后消息
......@@ -79,13 +80,14 @@ type NotifyApiLog struct {
ResponseBody interface{} `json:"response_body"` //响应参数
Error interface{} `json:"error"` //错误信息
}
//内部推送商品更新消息
type NotifyGoodsUpdateServer struct {
Type int `json:"type"`
MsgData []GoodsData `json:"msg_data"`
Type int `json:"type"`
MsgData []GoodsData `json:"msg_data"`
MsgSendTime int64 `json:"msg_send_time"`
}
type GoodsData struct {
GoodsId int64 `json:"goods_id"`
GoodsId int64 `json:"goods_id"`
RealSale int64 `json:"real_sale"`
}
\ No newline at end of file
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论