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

消息

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