提交 a0195ee6 authored 作者: 屈传平's avatar 屈传平

yh

上级 5e3c06c2
...@@ -21,14 +21,15 @@ type MsgPullRes struct { ...@@ -21,14 +21,15 @@ type MsgPullRes struct {
Code string `json:"code"` Code string `json:"code"`
Message string `json:"message"` Message string `json:"message"`
Data []struct { Data []struct {
Id string `json:"id"` Id int64 `json:"id"`
Type string `json:"type"` Type string `json:"type"`
CreateTime string `json:"createTime"` CreateTime string `json:"createTime"`
MessageInfo string `json:"messageInfo"` MessageInfo string `json:"messageInfo"`
} `json:"data"` } `json:"data"`
} }
/** /*
*
正向订单 正向订单
*/ */
type MsgOrder struct { type MsgOrder struct {
...@@ -37,7 +38,8 @@ type MsgOrder struct { ...@@ -37,7 +38,8 @@ type MsgOrder struct {
OrderStatus string `json:"orderStatus"` OrderStatus string `json:"orderStatus"`
} }
/** /*
*
售后订单 售后订单
*/ */
type MsgOrderRefund struct { type MsgOrderRefund struct {
...@@ -50,7 +52,8 @@ type MsgOrderRefund struct { ...@@ -50,7 +52,8 @@ type MsgOrderRefund struct {
IsOffline bool `json:"isOffline"` IsOffline bool `json:"isOffline"`
} }
/** /*
*
物流发货 物流发货
*/ */
type MsgLogistic struct { type MsgLogistic struct {
...@@ -61,14 +64,16 @@ type MsgLogistic struct { ...@@ -61,14 +64,16 @@ type MsgLogistic struct {
LogisticStatus string `json:"logisticStatus"` LogisticStatus string `json:"logisticStatus"`
} }
/** /*
*
商品变更 商品变更
*/ */
type MsgGoodsChange struct { type MsgGoodsChange struct {
GoodsCode string `json:"goodsCode"` GoodsCode string `json:"goodsCode"`
} }
/** /*
*
商品上下架 商品上下架
*/ */
type MsgGoodsShelves struct { type MsgGoodsShelves struct {
...@@ -76,7 +81,8 @@ type MsgGoodsShelves struct { ...@@ -76,7 +81,8 @@ type MsgGoodsShelves struct {
GoodsStatus string `json:"goodsStatus"` GoodsStatus string `json:"goodsStatus"`
} }
/** /*
*
商品价格变更 商品价格变更
*/ */
type MsgGoodsPrice struct { type MsgGoodsPrice struct {
...@@ -84,7 +90,8 @@ type MsgGoodsPrice struct { ...@@ -84,7 +90,8 @@ type MsgGoodsPrice struct {
GoodsPrice string `json:"goodsPrice"` GoodsPrice string `json:"goodsPrice"`
} }
/** /*
*
消息拉取 消息拉取
*/ */
func (s *msg) Pull(ctx context.Context, req *MsgPullReq) (res *MsgPullRes, err error) { func (s *msg) Pull(ctx context.Context, req *MsgPullReq) (res *MsgPullRes, err error) {
...@@ -107,7 +114,8 @@ type MsgRemoveRes struct { ...@@ -107,7 +114,8 @@ type MsgRemoveRes struct {
Data string `json:"data"` Data string `json:"data"`
} }
/** /*
*
删除消息 删除消息
*/ */
func (s *msg) Remove(ctx context.Context, req *MsgRemoveReq) (res *MsgRemoveRes, err error) { func (s *msg) Remove(ctx context.Context, req *MsgRemoveReq) (res *MsgRemoveRes, err error) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论